ADOdb_Session::debug

Syntax
bool ADOdb_Session::debug(
  optional bool $enableDebugger
  )

Description

The static method debug enables or disables debugging on the session connection. This is not the same value as the debugging associated with the database abstraction layer debugging.

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::config($driver,$host,$user,$pass,$database);
ADOdb_Session::debug(true);