Class Session
Methods summary
public
|
|
public
|
|
public
string
|
|
public
mixed
|
|
public
|
|
public
|
#
clear( string $name = null )
Unsets the value of a given session variable, or the entire session array of all values |
public
|
#
setSessionCookie( string $path = "", string $domain = "", boolean $secure = false )
Set the session cookie |
public
|
#
keepAliveSessionCookie( string $path = "", string $domain = "", boolean $secure = false )
Updates the session cookie expiration date so that it remains active without expiring |
public
|
#
clearSessionCookie( string $path = "", string $domain = "", boolean $secure = false )
Deletes the session cookie |
private
|
#
sessionSet( integer $ttl, string $tbl, string $tblid, string $tblexpire, string $tblvalue, mixed $session_name )
Set session handler callback methods and start the session |
private
|
|
private
|
|
private
|
#
sessionOpen( string $session_path, string $session_name )
Open the given session. Not implemented, included only for compatibility |
private
boolean
|
|
private
string
|
|
private
|
#
sessionWrite( string $sid, string $value )
Writes the session data to the database. If that SID already exists, then the existing data will be updated. |
private
|
|
private
|
Magic methods summary
Properties summary
private
mixed
|
$Record | |
private
mixed
|
$ttl | |
private
mixed
|
$tbl | |
private
mixed
|
$tblid | |
private
mixed
|
$tblexpire | |
private
mixed
|
$tblvalue | |
private
mixed
|
$csid | |
private
mixed
|
$sid | |
private static
integer
|
$instances |