v5:session:reference:persist
This is an old revision of the document!
ADOdb_Session::persit
Syntax
bool ADOdb_Session::persist( optional bool $persistantConnection )
Description
The static method persists sets or gets the status of a persistent connection on the session connection. This is not the same value as the driver associated with the database abstraction layer.
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::driver('oci8'); ADOdb_session::persist(true); ADOdb_session::config('',$host,$user,$pass,$database);
v5/session/reference/persist.1463869312.txt.gz · Last modified: 2017/04/21 11:38 (external edit)