Auth::setExpire()
Parametr
- 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.
Uwagi
Ta funkcja nie może być wywołana statycznie.
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.
| Poprzedni | Spis treści | Następny |
| Auth::setCheckAuthCallback() | Początek rozdziału | Auth::setFailedLoginCallback() |