v5:session:reference:index
This is an old revision of the document!
Session Management Reference
Main Commands
All of the followingcommands are static, and should be preceded by ADOdb_session::
| Command | Description |
|---|---|
| config | Establishes a connection to the database for session management |
| debug | Gets or sets debugging mode for the session management connection |
| driver | Gets or sets the ADOdb database driver associated with the connection |
| host | Gets or sets the host name for the session management connection |
| user | Gets or sets the user name for the session management connection |
| password | Gets or sets the password for the session management connection |
| database | Gets or sets the database name for the session management connection |
| persist | Gets or sets persistent database connection mode for the session management connection |
| lifetime | Gets or sets the session lifetime |
| expireNotify | Gets or sets the garbage collection callback function for the session management connection |
| table | Overrides the default table name for the storage of session data |
| optimize | Gets or sets table optimization mode |
| clob | Gets or sets if clobs are available to store session data |
| filter | Gets or sets the session data filter |
| encryptionKey | Gets or sets the encryption key if encrypted sessions are in use |
Helper Functions
| Command | Description |
|---|---|
| adodb_unserialize | Unpacks the session data from the database and makes it human-readable |
| adodb_session_regenerate_id | Manually regenerate the session id |
v5/session/reference/index.1463360887.txt.gz · Last modified: (external edit)
