Auth::setSessionName()

Auth::setSessionName() – set a custom name for the Auth session variable

Synopsis

void Auth::setSessionName ( string $name )

Description

This function is used to set the name of the session variable used to store the user's authentication details. The default for the session variable name is _authsession.

Parameter

string $name

the session variable name to use

Note

This function can not be called statically.

You have to use setSessionName(), if you are running two or more different applications with Auth on the same domain. If you don't use this function, a user who has once logged in at one of the applications can also use the other applications without logging in again!

set a callback for successful logout attempts (Previous) controls if the login form will be displayed. Turned on by default (Next)
Last updated: Tue, 21 Oct 2014 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report or add a note.
View this page in:

User Notes:

Note by: bavinckp@casema.nl
It would be nice if this class was updated to use the HTTP_Session2 package.