class HybridSessionStore extends HybridSessionStore_Base (View source)

Properties

protected string $key

Session secret key

from  HybridSessionStore_Base
protected $handlers

List of session handlers

protected static bool $enabled

True if this session store has been initialised

Methods

public
setKey(string $key)

Assign a new session secret key

protected
string
getKey()

Get the session secret key

protected
int
getLifetime()

Get lifetime in number of seconds

protected
int
getNow()

Gets the current unix timestamp

public
setHandlers($handlers)

No description

public
getHandlers()

No description

public
open($save_path, $name)

No description

public
close()

No description

public
read($session_id)

No description

public
write($session_id, $session_data)

No description

public
destroy($session_id)

No description

public
gc($maxlifetime)

No description

public static 
init(string $key = null)

Register the session handler as the default

public static 
is_enabled()

No description

Details

setKey(string $key)

Assign a new session secret key

Parameters

string $key

protected string getKey()

Get the session secret key

Return Value

string

protected int getLifetime()

Get lifetime in number of seconds

Return Value

int

protected int getNow()

Gets the current unix timestamp

Return Value

int

setHandlers($handlers)

No description

Parameters

$handlers

getHandlers()

No description

open($save_path, $name)

No description

Parameters

$save_path
$name

close()

No description

read($session_id)

No description

Parameters

$session_id

write($session_id, $session_data)

No description

Parameters

$session_id
$session_data

destroy($session_id)

No description

Parameters

$session_id

gc($maxlifetime)

No description

Parameters

$maxlifetime

static init(string $key = null)

Register the session handler as the default

Parameters

string $key

Desired session key

static is_enabled()

No description