Documentation

ISessionHandler extends SessionHandlerInterface

Tags
since

Version 0.1.0

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
int

setExpires()

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

        
On this page

Search results