Auth::setCheckAuthCallback() (Previous) (Next) Auth::setFailedLoginCallback()

View this page in Last updated: Sun, 05 Oct 2008
English | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Plain HTML

Auth::setExpire()

Auth::setExpire() -- 認証有効期限を設定する

説明

この関数は、(ログインしてから) 認証が期限切れとなるまでの時間を新しい値に設定します。

パラメータ

integer $time

認証有効期間(単位:秒)

boolean $add

TRUE の場合、 現在指定されている認証有効期間に $time が加えられます。 FALSE の場合は、$time に置き換えられます。

注意

この関数は、スタティックにコールする ことはできません。

Auth は、PHP のセッション機能を使用して、 ユーザの http コールの間隔を判断します。 Auth の有効期限をセッションのタイムアウトより大きくしたとしても、 PHP のセッションが期限切れになった時点で Auth も期限切れとなります。

Auth::setCheckAuthCallback() (Previous) (Next) Auth::setFailedLoginCallback()

Download Documentation Last updated: Sun, 05 Oct 2008
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.