Class SessionHandler_oci8

Description

SessionHandler:: implementation for Oracle 8i (native).

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.
   'table'    - (string) The name of the sessiondata table in 'database'.

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.oci8.sql.

$Horde: framework/SessionHandler/SessionHandler/oci8.php,v 1.8.4.16 2008/09/02 21:36:43 slusarz Exp $

Copyright 2003-2007 Liam Hoekenga <liamr@umich.edu>

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/oci8.php (line 34)

SessionHandler
   |
   --SessionHandler_oci8
Variable Summary
 resource $_db
Method Summary
 boolean destroy (string $id)
 boolean gc ([integer $maxlifetime = 1])
 array getSessionIDs ()
Variables
resource $_db (line 41)

Handle for the current database connection.

Inherited Variables

Inherited from SessionHandler

SessionHandler::$_connected
SessionHandler::$_force
SessionHandler::$_params
SessionHandler::$_sig
Methods
destroy (line 195)

Destroy the data for a particular session identifier in the SessionHandler backend.

  • return: True on success, false otherwise.
boolean destroy (string $id)
  • string $id: The session identifier.

Redefinition of:
SessionHandler::destroy()
Destroy the data for a particular session identifier in the SessionHandler backend.
gc (line 225)

Garbage collect stale sessions from the SessionHandler backend.

  • return: True on success, false otherwise.
boolean gc ([integer $maxlifetime = 1])
  • integer $maxlifetime: The maximum age of a session.

Redefinition of:
SessionHandler::gc()
Garbage collect stale sessions from the SessionHandler backend.
getSessionIDs (line 253)

Get a list of the valid session identifiers.

  • return: A list of valid session identifiers.
array getSessionIDs ()

Redefinition of:
SessionHandler::getSessionIDs()
Get a list of the valid session identifiers.

Inherited Methods

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:20:09 +0000 by phpDocumentor 1.4.3