Auth::setSessionName()

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

Synopsis

void Auth::setSessionName (string $name)

Описание

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".

Параметр

string $name

the session name to use

Заметка

Эта функция не должна вызываться статически.

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!


HIVE: All information for read only. Please respect copyright!
Hosted by hive йца: йХЕБЯЙЮЪ ЦНПНДЯЙЮЪ АХАКХНРЕЙЮ