$readonly
$readonly : boolean
Access session read-only?
Memcache sessionhandler driver.
__construct(array $params = array())
Constructor.
array | $params | Parameters: 'memcache' - (Horde_Memcache) [REQUIRED] A memcache object. 'track' - (boolean) Track active sessions? 'track_lifetime' - (integer) The number of seconds after which tracked sessions will be treated as expired. |
open(string $save_path = null, string $session_name = null)
Open the backend.
string | $save_path | The path to the session object. |
string | $session_name | The name of the session. |
None found |
read(string $id) : string
Read the data for a particular session identifier from the backend.
string | $id | The session identifier. |
The session data.
None found |
write(string $id, string $session_data) : boolean
Write session data to the backend.
string | $id | The session identifier. |
string | $session_data | The session data. |
True on success, false otherwise.
None found |
destroy(string $id) : boolean
Destroy the data for a particular session identifier in the backend.
This method should only be called internally by PHP via session_set_save_handler().
string | $id | The session identifier. |
True on success, false otherwise.
None found |
gc(integer $maxlifetime = 300) : boolean
Garbage collect stale sessions from the backend.
This method should only be called internally by PHP via session_set_save_handler().
integer | $maxlifetime | The maximum age of a session. |
True on success, false otherwise.
None found |