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

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

Auth::setExpire()

Auth::setExpire() -- set expiration time for authentication

Описание

With this function you can set the maximum expire time that is used by auth to a new value.

Параметр

integer $time

expiration time, number of seconds

boolean $add

if TRUE $time is added to the existing expiration time, if FALSE the exitsing time value will be replaced.

Заметка

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

Auth uses PHP's session mechanism to recognize users between http calls. Setting Auth's expiry time larger than the session timeout will still expire the session to the time the php session expires.

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

Download Documentation Last updated: Mon, 02 Jul 2007
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.