SessionHandler:: implementation for MySQL (native).
Required parameters:
'hostspec' - (string) The hostname of the database server. 'protocol' - (string) The communication protocol ('tcp', 'unix', etc.). '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. 'table' - (string) The name of the sessiondata table in 'database'. 'rowlocking' - (boolean) Whether to use row-level locking and transactions (InnoDB) or table-level locking (MyISAM).
Required for some configurations:
'port' - (integer) The port on which to connect to the database.
Optional parameters:
'persistent' - (boolean) Use persistent DB connections?
The table structure for the SessionHandler can be found in horde/scripts/sql/horde_sessionhandler.sql.
$Horde: framework/SessionHandler/SessionHandler/mysql.php,v 1.16.12.23 2009/09/25 14:29:09 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.
Class | Description |
---|---|
![]() |
SessionHandler:: implementation for MySQL (native). |
Documentation generated on Sun, 30 Jan 2011 05:19:55 +0000 by phpDocumentor 1.4.3