XcacheHandler
class XcacheHandler extends AbstractHandler (View source)
Class XcacheHandler
Methods
Constructor
Test to see if the SessionHandler is available.
Read the data for a particular session identifier from the SessionHandler backend.
Write session data to the SessionHandler backend.
Destroy the data for a particular session identifier in the SessionHandler backend.
Re-initializes existing session, or creates a new one.
Closes the current session.
Cleans up expired sessions (garbage collection).
Details
at line line 26
__construct(array $options = array())
Constructor
in AbstractHandler at line line 40
mixed
register()
register
at line line 43
static boolean
isSupported()
Test to see if the SessionHandler is available.
at line line 57
string
read(string $id)
Read the data for a particular session identifier from the SessionHandler backend.
at line line 78
bool
write(string $id, string $session_data)
Write session data to the SessionHandler backend.
at line line 92
bool
destroy(int $id)
Destroy the data for a particular session identifier in the SessionHandler backend.
at line line 114
bool
open(string $savePath, string $sessionName)
Re-initializes existing session, or creates a new one.
at line line 126
bool
close()
Closes the current session.
at line line 140
bool
gc(int $maxlifetime)
Cleans up expired sessions (garbage collection).