Auth::setLogoutCallback() (Previous) (Next) Auth::setShowLogin()

View this page in Last updated: Sun, 01 Jul 2007
English | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Plain HTML

Auth::setSessionName()

Auth::setSessionName() -- set a custom session name

Leírás

This function can set a customized name for the session that is created during the login process. The default for this session name is "PHPSESSID".

Paraméterek

string $name

the session name to use

Megjegyzés

Ez a függvény nem hívható statikusan.

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!

Auth::setLogoutCallback() (Previous) (Next) Auth::setShowLogin()

Download Documentation Last updated: Sun, 01 Jul 2007
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
Note by: bavinckp@casema.nl
It would be nice if this class was updated to use the HTTP_Session2 package.