ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v5:session:reference:table

This is an old revision of the document!


ADOdb_Session::table

Syntax
string ADOdb_Session::table(
  optional string $tableName
  )

Description

The static method table overrides the default table name SESSIONS2 used to store session information. You must define this if you have created a table with a different name.

The value must be set before config() is called

Use As A Getter

When used without parameters it returns the currently set value

Usage

 
include_once 'adodb/adodb.inc.php';
include_once "adodb/session/adodb-session2.php";
 
ADOdb_session::table('alt-session-table');
ADOdb_session::config($driver,$host,$user,$pass,$database);
v5/session/reference/table.1463869544.txt.gz · Last modified: 2017/04/21 11:38 (external edit)