$changed
$changed : boolean
If true, indicates the session data has changed.
This class provides the interface to the session storage backend.
Copyright 2002-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.
$_storage : \Horde_SessionHandler_Storage
The storage object.
__construct(\Horde_SessionHandler_Storage $storage, array $params = array())
Constructor.
\Horde_SessionHandler_Storage | $storage | The storage object. |
array | $params | Configuration parameters: - logger: (Horde_Log_Logger) A logger instance. DEFAULT: No logging - no_md5: (boolean) If true, does not do MD5 signatures of the session to determine if the session has changed (calling code is responsible for marking $changed as true when the session data has changed). DEFAULT: false - noset: (boolean) If true, don't set the save handler. DEFAULT: false - parse: (callback) A callback function that parses session information into an array. Is passed the raw session data as the only argument; expects either false or an array of session data as a return. DEFAULT: No |
write(string $id, string $session_data) : boolean
Write session data to the backend.
This method should only be called internally by PHP via session_set_save_handler().
string | $id | The session identifier. |
string | $session_data | The session data. |
True on success, false otherwise.
getSessionsInfo() : array
Returns a list of authenticated users and data about their session.
For authenticated users, the sessionid as a key and the session information as value. If no parsing function was provided, will always return an empty array.