<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="http://adodb.org/dokuwiki/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="http://adodb.org/dokuwiki/feed.php">
        <title>ADOdb - v5:session:reference</title>
        <description>Database Abstraction Layer for PHP</description>
        <link>http://adodb.org/dokuwiki/</link>
        <image rdf:resource="http://adodb.org/dokuwiki/lib/exe/fetch.php?media=logo.png" />
       <dc:date>2026-04-07T15:36:38+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="http://adodb.org/dokuwiki/doku.php?id=v5:session:reference:adodb_sess_conn&amp;rev=1611438788&amp;do=diff"/>
                <rdf:li rdf:resource="http://adodb.org/dokuwiki/doku.php?id=v5:session:reference:adodb_session_expire_notify&amp;rev=1463928628&amp;do=diff"/>
                <rdf:li rdf:resource="http://adodb.org/dokuwiki/doku.php?id=v5:session:reference:adodb_session_regenerate_id&amp;rev=1530475505&amp;do=diff"/>
                <rdf:li rdf:resource="http://adodb.org/dokuwiki/doku.php?id=v5:session:reference:adodb_unserialize&amp;rev=1530475476&amp;do=diff"/>
                <rdf:li rdf:resource="http://adodb.org/dokuwiki/doku.php?id=v5:session:reference:clob&amp;rev=1530475413&amp;do=diff"/>
                <rdf:li rdf:resource="http://adodb.org/dokuwiki/doku.php?id=v5:session:reference:config&amp;rev=1530474809&amp;do=diff"/>
                <rdf:li rdf:resource="http://adodb.org/dokuwiki/doku.php?id=v5:session:reference:database&amp;rev=1530475281&amp;do=diff"/>
                <rdf:li rdf:resource="http://adodb.org/dokuwiki/doku.php?id=v5:session:reference:debug&amp;rev=1530475132&amp;do=diff"/>
                <rdf:li rdf:resource="http://adodb.org/dokuwiki/doku.php?id=v5:session:reference:driver&amp;rev=1530475162&amp;do=diff"/>
                <rdf:li rdf:resource="http://adodb.org/dokuwiki/doku.php?id=v5:session:reference:encryptionkey&amp;rev=1530475437&amp;do=diff"/>
                <rdf:li rdf:resource="http://adodb.org/dokuwiki/doku.php?id=v5:session:reference:expirenotify&amp;rev=1530475342&amp;do=diff"/>
                <rdf:li rdf:resource="http://adodb.org/dokuwiki/doku.php?id=v5:session:reference:filter&amp;rev=1463871884&amp;do=diff"/>
                <rdf:li rdf:resource="http://adodb.org/dokuwiki/doku.php?id=v5:session:reference:host&amp;rev=1530475196&amp;do=diff"/>
                <rdf:li rdf:resource="http://adodb.org/dokuwiki/doku.php?id=v5:session:reference:index&amp;rev=1463928206&amp;do=diff"/>
                <rdf:li rdf:resource="http://adodb.org/dokuwiki/doku.php?id=v5:session:reference:lifetime&amp;rev=1530475320&amp;do=diff"/>
                <rdf:li rdf:resource="http://adodb.org/dokuwiki/doku.php?id=v5:session:reference:optimize&amp;rev=1530475391&amp;do=diff"/>
                <rdf:li rdf:resource="http://adodb.org/dokuwiki/doku.php?id=v5:session:reference:password&amp;rev=1530475252&amp;do=diff"/>
                <rdf:li rdf:resource="http://adodb.org/dokuwiki/doku.php?id=v5:session:reference:persist&amp;rev=1530478540&amp;do=diff"/>
                <rdf:li rdf:resource="http://adodb.org/dokuwiki/doku.php?id=v5:session:reference:table&amp;rev=1530475366&amp;do=diff"/>
                <rdf:li rdf:resource="http://adodb.org/dokuwiki/doku.php?id=v5:session:reference:user&amp;rev=1530475217&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="http://adodb.org/dokuwiki/lib/exe/fetch.php?media=logo.png">
        <title>ADOdb</title>
        <link>http://adodb.org/dokuwiki/</link>
        <url>http://adodb.org/dokuwiki/lib/exe/fetch.php?media=logo.png</url>
    </image>
    <item rdf:about="http://adodb.org/dokuwiki/doku.php?id=v5:session:reference:adodb_sess_conn&amp;rev=1611438788&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-01-23T21:53:08+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>$ADODB_SESS_CONN</title>
        <link>http://adodb.org/dokuwiki/doku.php?id=v5:session:reference:adodb_sess_conn&amp;rev=1611438788&amp;do=diff</link>
        <description>$ADODB_SESS_CONN

This variable holds an instance of the database connection and can be used as required. The connection is itself an instance of a standard ADOdb connections, and all available functionality may be used.

The feature is also useful if you want session manager to use a connection that relies on complex connection parameters, such a MySQL SSL certificates (see the second example) which cannot be achieved using the normal session connection. This is done by telling the session mana…</description>
    </item>
    <item rdf:about="http://adodb.org/dokuwiki/doku.php?id=v5:session:reference:adodb_session_expire_notify&amp;rev=1463928628&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2016-05-22T14:50:28+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>$ADODB_SESSION_EXPIRE_NOTIFY</title>
        <link>http://adodb.org/dokuwiki/doku.php?id=v5:session:reference:adodb_session_expire_notify&amp;rev=1463928628&amp;do=diff</link>
        <description>$ADODB_SESSION_EXPIRE_NOTIFY



Description

ADOdb uses a global variable $ADODB_SESSION_EXPIRE_NOTIFY that must be predefined before session start to store the notification configuration. It is an array with 2 elements, the first being the name of the session variable you would like to store in the EXPIREREF field, and the 2nd is the notification function&#039;s name.</description>
    </item>
    <item rdf:about="http://adodb.org/dokuwiki/doku.php?id=v5:session:reference:adodb_session_regenerate_id&amp;rev=1530475505&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-07-01T20:05:05+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>adodb_session_regenerate_id</title>
        <link>http://adodb.org/dokuwiki/doku.php?id=v5:session:reference:adodb_session_regenerate_id&amp;rev=1530475505&amp;do=diff</link>
        <description>This command is deprecated as of ADOdb V5.21 and will be removed in ADOdb V6

adodb_session_regenerate_id



Syntax
bool adodb_session_regenerate_id()
Description

Since PHP V4.21, this function has simply been a wrapper for the PHP function session_regenerate_id() .

Session Cookie Regeneration</description>
    </item>
    <item rdf:about="http://adodb.org/dokuwiki/doku.php?id=v5:session:reference:adodb_unserialize&amp;rev=1530475476&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-07-01T20:04:36+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>adodb_unserialize</title>
        <link>http://adodb.org/dokuwiki/doku.php?id=v5:session:reference:adodb_unserialize&amp;rev=1530475476&amp;do=diff</link>
        <description>adodb_unserialize



Syntax
array adodb_unserialize(
  string $sessionData
  )
Description

The method unpacks the data stored in the session field in the session data table and converts it to an array. The data stored in the field is similar, but not quite a serialized array. Under certain circumstances the PHP function</description>
    </item>
    <item rdf:about="http://adodb.org/dokuwiki/doku.php?id=v5:session:reference:clob&amp;rev=1530475413&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-07-01T20:03:33+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>ADOdb_Session::clob</title>
        <link>http://adodb.org/dokuwiki/doku.php?id=v5:session:reference:clob&amp;rev=1530475413&amp;do=diff</link>
        <description>ADOdb_Session::clob



Syntax
bool ADOdb_Session::clob(
  optional bool $clobIsAvailable
  )
Description

The static method clob sets or gets the ability to use LOB type fields to store session information. For Oracle databases, this function is automatically enforced.</description>
    </item>
    <item rdf:about="http://adodb.org/dokuwiki/doku.php?id=v5:session:reference:config&amp;rev=1530474809&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-07-01T19:53:29+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>ADOdb_Session::config</title>
        <link>http://adodb.org/dokuwiki/doku.php?id=v5:session:reference:config&amp;rev=1530474809&amp;do=diff</link>
        <description>ADOdb_Session::config



Syntax
bool ADOdb_Session::config(
  string $driver, 
  optional string $host, 
  optional string $user, 
  optional string $password, 
  optional string $database,
  optional array $options
  )
Introduction

The static method config defines the parameters required to establish a connection to a database to store session data. The connection established can be either:</description>
    </item>
    <item rdf:about="http://adodb.org/dokuwiki/doku.php?id=v5:session:reference:database&amp;rev=1530475281&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-07-01T20:01:21+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>ADOdb_Session::database</title>
        <link>http://adodb.org/dokuwiki/doku.php?id=v5:session:reference:database&amp;rev=1530475281&amp;do=diff</link>
        <description>ADOdb_Session::database



Syntax
string ADOdb_Session::database(
  optional string $database
  )
Description

The static method database sets or gets the ADOdb database name on the session connection. This is not the same value as the driver associated with the database abstraction layer.</description>
    </item>
    <item rdf:about="http://adodb.org/dokuwiki/doku.php?id=v5:session:reference:debug&amp;rev=1530475132&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-07-01T19:58:52+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>ADOdb_Session::debug</title>
        <link>http://adodb.org/dokuwiki/doku.php?id=v5:session:reference:debug&amp;rev=1530475132&amp;do=diff</link>
        <description>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.</description>
    </item>
    <item rdf:about="http://adodb.org/dokuwiki/doku.php?id=v5:session:reference:driver&amp;rev=1530475162&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-07-01T19:59:22+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>ADOdb_Session::driver</title>
        <link>http://adodb.org/dokuwiki/doku.php?id=v5:session:reference:driver&amp;rev=1530475162&amp;do=diff</link>
        <description>ADOdb_Session::driver



Syntax
string ADOdb_Session::driver(
  optional string $driverName
  )
Description

The static method driver sets or gets the ADOdb database driver on the session connection. This is not the same value as the driver associated with the database abstraction layer.</description>
    </item>
    <item rdf:about="http://adodb.org/dokuwiki/doku.php?id=v5:session:reference:encryptionkey&amp;rev=1530475437&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-07-01T20:03:57+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>ADOdb_Session::encryptionKey</title>
        <link>http://adodb.org/dokuwiki/doku.php?id=v5:session:reference:encryptionkey&amp;rev=1530475437&amp;do=diff</link>
        <description>ADOdb_Session::encryptionKey



Syntax
string ADOdb_Session::encryptionKey(
  optional string $key
  )
Description

The static method encryptionKey overrides the default salt string used when creating a session key

The value must be set before config() is called</description>
    </item>
    <item rdf:about="http://adodb.org/dokuwiki/doku.php?id=v5:session:reference:expirenotify&amp;rev=1530475342&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-07-01T20:02:22+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>ADOdb_Session::expireNotify</title>
        <link>http://adodb.org/dokuwiki/doku.php?id=v5:session:reference:expirenotify&amp;rev=1530475342&amp;do=diff</link>
        <description>ADOdb_Session::expireNotify



Syntax
string ADOdb_Session::expireNotify(
  optional string $functionName
  )
Description

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.</description>
    </item>
    <item rdf:about="http://adodb.org/dokuwiki/doku.php?id=v5:session:reference:filter&amp;rev=1463871884&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2016-05-21T23:04:44+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>ADOdb_Session::filter</title>
        <link>http://adodb.org/dokuwiki/doku.php?id=v5:session:reference:filter&amp;rev=1463871884&amp;do=diff</link>
        <description>This method is undocumented, and the actual code does not explain it&#039;s use. Can you help with documenting it?

ADOdb_Session::filter



Syntax
string ADOdb_Session::filter(
  optional string $filterName
  )
Description

The static method filter is associated with using simultaneous levels on encryption/compression, but it&#039;s actual utility is unknown</description>
    </item>
    <item rdf:about="http://adodb.org/dokuwiki/doku.php?id=v5:session:reference:host&amp;rev=1530475196&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-07-01T19:59:56+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>ADOdb_Session::host</title>
        <link>http://adodb.org/dokuwiki/doku.php?id=v5:session:reference:host&amp;rev=1530475196&amp;do=diff</link>
        <description>ADOdb_Session::host



Syntax
string ADOdb_Session::host(
  optional string $hostName
  )
Description

The static method host sets or gets the hostname on the session connection. This is not the same value as the hostnameassociated with the database abstraction layer.</description>
    </item>
    <item rdf:about="http://adodb.org/dokuwiki/doku.php?id=v5:session:reference:index&amp;rev=1463928206&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2016-05-22T14:43:26+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Session Management Reference</title>
        <link>http://adodb.org/dokuwiki/doku.php?id=v5:session:reference:index&amp;rev=1463928206&amp;do=diff</link>
        <description>Session Management Reference

Main Commands

All of the following commands are static, and should be preceded by ADOdb_session::
CommandDescriptionconfig()Establishes a connection to the database for session managementdebug()Gets or sets debugging mode for the session management connection</description>
    </item>
    <item rdf:about="http://adodb.org/dokuwiki/doku.php?id=v5:session:reference:lifetime&amp;rev=1530475320&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-07-01T20:02:00+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>ADOdb_Session::lifetime</title>
        <link>http://adodb.org/dokuwiki/doku.php?id=v5:session:reference:lifetime&amp;rev=1530475320&amp;do=diff</link>
        <description>ADOdb_Session::lifetime



Syntax
int ADOdb_Session::lifetime(
  optional int $lifeTime
  )
Description

The static method lifeTime sets or gets the maximum lifetime of the session connection in seconds. Setting the value overrides the default, which is determined by the value of the</description>
    </item>
    <item rdf:about="http://adodb.org/dokuwiki/doku.php?id=v5:session:reference:optimize&amp;rev=1530475391&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-07-01T20:03:11+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>ADOdb_Session::optimize</title>
        <link>http://adodb.org/dokuwiki/doku.php?id=v5:session:reference:optimize&amp;rev=1530475391&amp;do=diff</link>
        <description>ADOdb_Session::optimize



Supported Databases

	*  MySQL
		*  Postgres

Syntax
bool ADOdb_Session::optimize(
  optional bool $enableOptimization
  )
Description

If the attached database is either MySQL or Postgres, the static method optimize sets or gets table optimization on the session connection.</description>
    </item>
    <item rdf:about="http://adodb.org/dokuwiki/doku.php?id=v5:session:reference:password&amp;rev=1530475252&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-07-01T20:00:52+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>ADOdb_Session::password</title>
        <link>http://adodb.org/dokuwiki/doku.php?id=v5:session:reference:password&amp;rev=1530475252&amp;do=diff</link>
        <description>ADOdb_Session::password



Syntax
string ADOdb_Session::password(
  optional string $password
  )
Description

The static method password sets or gets the connection password on the session connection. This is not the same value as the password associated with the database abstraction layer.</description>
    </item>
    <item rdf:about="http://adodb.org/dokuwiki/doku.php?id=v5:session:reference:persist&amp;rev=1530478540&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-07-01T20:55:40+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>ADOdb_Session::persist</title>
        <link>http://adodb.org/dokuwiki/doku.php?id=v5:session:reference:persist&amp;rev=1530478540&amp;do=diff</link>
        <description>ADOdb_Session::persist



Syntax
mixed ADOdb_Session::persist(
  optional mixed $connectMode
  )
Description

The static method persist 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.</description>
    </item>
    <item rdf:about="http://adodb.org/dokuwiki/doku.php?id=v5:session:reference:table&amp;rev=1530475366&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-07-01T20:02:46+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>ADOdb_Session::table</title>
        <link>http://adodb.org/dokuwiki/doku.php?id=v5:session:reference:table&amp;rev=1530475366&amp;do=diff</link>
        <description>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.</description>
    </item>
    <item rdf:about="http://adodb.org/dokuwiki/doku.php?id=v5:session:reference:user&amp;rev=1530475217&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-07-01T20:00:17+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>ADOdb_Session::user</title>
        <link>http://adodb.org/dokuwiki/doku.php?id=v5:session:reference:user&amp;rev=1530475217&amp;do=diff</link>
        <description>ADOdb_Session::user



Syntax
string ADOdb_Session::user(
  optional string $userName
  )
Description

The static method user sets or gets the user on the session connection. This is not the same value as the user associated with the database abstraction layer.</description>
    </item>
</rdf:RDF>
