$readonly
$readonly : boolean
Access session read-only?
SessionHandler storage implementation for PHP's built-in session handler.
This doesn't do any session handling itself - instead, it exists to allow utility features to be used with the built-in PHP handler.
Copyright 2005-2017 Horde LLC (http://www.horde.org/)
See the enclosed file LICENSE for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
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 |