File/SessionHandler/SessionHandler/pgsql.php

Description

PostgreSQL Session Handler for PHP (native).

Copyright 1999-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.

Required parameters:

   'database' - (string) The name of the database.
   'password' - (string) The password associated with 'username'.
   'protocol' - (string) The communication protocol ('tcp', 'unix').
   'username' - (string) The username with which to connect to the database.

 Required for some configurations (i.e. 'protocol' = 'tcp'):
   'hostspec' - (string) The hostname of the database server.
   'port'     - (integer) The port on which to connect to the database.

Optional parameters:

   'persistent' - (boolean) Use persistent DB connections?
                  Default: NO
   'table'      - (string) The name of the sessiondata table in 'database'.
                  Default: 'horde_sessionhandler'
</pre> The table structure for the SessionHandler can be found in horde/scripts/sql/horde_sessionhandler.pgsql.sql.

Contributors:

  Jason Carlson           Return an empty string on failed reads
  pat@pcprogrammer.com    Perform update in a single transaction
  Jonathan Crompton       Lock row for life of session

$Horde: framework/SessionHandler/SessionHandler/pgsql.php,v 1.12.10.22 2009/09/25 14:29:09 jan Exp $

Classes
Class Description
 class SessionHandler_pgsql PostgreSQL Session Handler for PHP (native).

Documentation generated on Sun, 30 Jan 2011 05:20:35 +0000 by phpDocumentor 1.4.3