ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v5:session:reference:table

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.txt · Last modified: 2018/07/01 22:02 by peterdd