Toggle navigation
Hot Examples
ES
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Buscar
Inicio
AppserverIo
Appserver
ServletEngine
Http
Session
setLifetime
AppserverIo\Appserver\ServletEngine\Http\Session::setLifetime PHP Method
Session Class Documentation
Mostrar archivo
Open project: appserver-io/appserver
setLifetime()
public
method
Sets date and time after the session expires.
public
setLifetime
(
integer
| DateTime
$lifetime
) :
void
$lifetime
integer
| DateTime
The date and time after the session expires
return
void
public function setLifetime($lifetime) { $this->lifetime = $lifetime; }
Session
__construct
addTag
autoExpire
canBeResumed
checksum
destroy
emptyInstance
getData
getDomain
getId
getLastActivityTimestamp
getLifetime
getMaximumAge
getName
getPath
getTags
hasKey
init
isHttpOnly
isSecure
isStarted
putData
removeData
removeTag
resume
setDomain
setHttpOnly
setId
setLifetime
setMaximumAge
setName
setPath
setSecure
start