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

View this page in Last updated: Sun, 21 Jun 2009
English | Brazilian Portuguese | Chinese | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Turkish

Auth::setSessionName()

Auth::setSessionName() – Auth セッション変数に独自の名前を設定する

Synopsis

void Auth::setSessionName ( string $name )

Description

この関数を使用して、セッション変数の名前を設定します。 この変数に、ユーザの認証詳細情報を保存します。 セッション変数名のデフォルトは、_authsession です。

Parameter

string $name

使用するセッション変数名

Note

This function can not be called statically.

同じドメインで Auth を用いるアプリケーションを複数実行する場合は、 setSessionName() を使用する必要があります。 この関数を使用しない場合、 アプリケーションの一つにログインしたユーザは、 再度ログインすることなしに他のアプリケーションも 使用することができてしまいます!

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

Download Documentation Last updated: Sun, 21 Jun 2009
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.