SessionHandler:: defines an API for implementing custom PHP session handlers.
Optional parameters:
'memcache' - (boolean) Use memcache to cache session data?
$Horde: framework/SessionHandler/SessionHandler.php,v 1.13.10.20 2009/10/08 22:25:23 slusarz Exp $
Copyright 2002-2009 The Horde Project (http://www.horde.org/)
See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.fsf.org/copyleft/lgpl.html.
Located in /SessionHandler/SessionHandler.php (line 21)
Class | Description |
---|---|
![]() |
SessionHandler:: implementation for DBM files. |
![]() |
SessionHandler implementation for LDAP directories. |
![]() |
SessionHandler:: implementation for memcache. |
![]() |
SessionHandler:: implementation for MySQL (native). |
![]() |
SessionHandler implementation for PHP's built-in session handler. |
![]() |
SessionHandler:: implementation for Oracle 8i (native). |
![]() |
PostgreSQL Session Handler for PHP (native). |
![]() |
SessionHandler implementation for PHP's PEAR database abstraction layer. |
Constructs a new SessionHandler object.
Destructor (PHP 5 only).
This is necessary as of PHP 5.0.5 because objects are not available when the write() handler is called at the end of a session access.
Close the SessionHandler backend.
Determine the number of currently logged in users.
getSessionsInfo() should be called instead.
Destroy the data for a particular session identifier in the SessionHandler backend.
This method should only be called internally by PHP via session_set_save_handler().
Attempts to return a concrete SessionHandler instance based on $driver.
Garbage collect stale sessions from the SessionHandler backend.
This method should only be called internally by PHP via session_set_save_handler().
Get a list of the valid session identifiers.
Returns a list of authenticated users and data about their session.
Returns a list of currently logged in users.
getSessionsInfo() should be called instead.
Open the SessionHandler backend.
Read the data for a particular session identifier from the SessionHandler backend.
This method should only be called internally by PHP via session_set_save_handler().
Attempts to return a reference to a concrete SessionHandler instance based on $driver. It will only create a new instance if no SessionHandler instance with the same parameters currently exists.
This method must be invoked as: $var = &SessionHandler::singleton()
Write session data to the SessionHandler backend.
This method should only be called internally by PHP via session_set_save_handler().
Documentation generated on Sun, 30 Jan 2011 05:21:17 +0000 by phpDocumentor 1.4.3