string ADOdb_Session::expireNotify( optional string $functionName )
The static method expireNotify sets or gets the name of the Garbage Collector (gc) function on the session connection. If defined, the function is executed each time a session expires.
The value must be set before config() is called
When used without parameters it returns the currently set value
function gcCleanup(){} include_once 'adodb/adodb.inc.php'; include_once "adodb/session/adodb-session2.php"; ADOdb_Session::expireNotify('gcCleanup'); ADOdb_Session::config('oci8',$host,$user,$pass,$database);