v5:session:session_index
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
v5:session:session_index [2018/07/01 21:57] – fix typo in example peterdd | v5:session:session_index [2018/07/24 01:07] – [Introduction] mnewnham | ||
---|---|---|---|
Line 24: | Line 24: | ||
An alternative to using a database backed session handler is to use [[v5: | An alternative to using a database backed session handler is to use [[v5: | ||
+ | ===== Driver Support ===== | ||
+ | The following drivers are known to work with the adodb-session2.php file: | ||
+ | - mysqli | ||
+ | - pdo_mysqli (From ADOdb version 5.21) | ||
+ | - postgres | ||
+ | - oci8 | ||
+ | |||
+ | This is not an exhaustive list, if you are using the system with a different database, let us know so we can add it to the list. | ||
===== Usage ===== | ===== Usage ===== | ||
Line 137: | Line 145: | ||
Create this table in your database. | Create this table in your database. | ||
- | ==== MySQL ==== | + | ==== MySQL or PDO MySQL ==== |
| | ||
CREATE TABLE sessions2( | CREATE TABLE sessions2( | ||
Line 260: | Line 268: | ||
- | ===== Backwards | + | ===== Backwards |
The older method of connecting to ADOdb using global variables is now deprecated, and **will be removed** in ADOdb version 6.0: | The older method of connecting to ADOdb using global variables is now deprecated, and **will be removed** in ADOdb version 6.0: |
v5/session/session_index.txt · Last modified: 2023/04/08 18:08 by dregad