ISessionHandler
extends
SessionHandlerInterface
in
Tags
Table of Contents
Methods
- getExpires() : int
- Gets the number of seconds after the session is created that it will expire
- setExpires() : void
- Sets the number of seconds after the session cookie is set/session is created that it should expire. For all web sessions, if 0 is set, the session will expire when the brower closes. For CLI sessions, if 0 is set, the session will expire once the command is executed.
Methods
getExpires()
Gets the number of seconds after the session is created that it will expire
public
getExpires() : int
Return values
intsetExpires()
Sets the number of seconds after the session cookie is set/session is created that it should expire. For all web sessions, if 0 is set, the session will expire when the brower closes. For CLI sessions, if 0 is set, the session will expire once the command is executed.
public
setExpires(int $expires) : void
Parameters
- $expires : int