SessionHandler implementation for PHP's PEAR database abstraction layer.
If you access your database through ODBC, you will almost certainly need to change PHP's default value for odbc.defaultlrl (this is a php.ini setting). The default is 4096, which is too small (your session data will be chopped off), and setting it to 0 DOES NOT work - that doesn't mean no limit, for some reason. odbc.defaultlrl = 32768 seems to work pretty well (using MSSQL-2000).
Required parameters:
'hostspec' - (string) The hostname of the database server. 'username' - (string) The username with which to connect to the database. 'password' - (string) The password associated with 'username'. 'database' - (string) The name of the database.
Optional parameters:
'table' - (string) The name of the sessiondata table in 'database'. DEFAULT: 'horde_sessionhandler'
The table structure for the SessionHandler can be found in horde/scripts/sql/horde_sessionhandler.sapdb.sql.
$Horde: framework/SessionHandler/SessionHandler/sapdb.php,v 1.13.12.12 2009/01/06 15:23:35 jan 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/sapdb.php (line 40)
SessionHandler | --SessionHandler_sql | --SessionHandler_sapdb
Inherited from SessionHandler_sql
SessionHandler_sql::$_db
SessionHandler_sql::$_write_db
Inherited from SessionHandler
SessionHandler::$_connected
SessionHandler::$_force
SessionHandler::$_params
SessionHandler::$_sig
Constructs a new SQL SessionHandler object.
Inherited From SessionHandler_sql
SessionHandler_sql::destroy()
SessionHandler_sql::gc()
SessionHandler_sql::getSessionIDs()
Inherited From SessionHandler
SessionHandler::SessionHandler()
SessionHandler::close()
SessionHandler::countAuthenticatedUsers()
SessionHandler::destroy()
SessionHandler::factory()
SessionHandler::gc()
SessionHandler::getSessionIDs()
SessionHandler::getSessionsInfo()
SessionHandler::listAuthenticatedUsers()
SessionHandler::open()
SessionHandler::read()
SessionHandler::singleton()
SessionHandler::write()
SessionHandler::__destruct()
Documentation generated on Sun, 30 Jan 2011 05:21:06 +0000 by phpDocumentor 1.4.3