ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v5:session:reference:debug

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);
v5/session/reference/debug.txt · Last modified: 2018/07/01 21:58 by peterdd