module documentation
Store sessions in a MySQL table.
Two extra methods are provided, .create_table and .delete_old_sessions. These are not called by session3 but may be useful in your programs. They use a third column of type TIMESTAMP, which MySQL automatically updates whenever the row changes.
This module assumes the table is non-transactional (no commit or rollback). That's the most popular type of MySQL table, and you can't rollback a non-transactional table or you'll sometimes get an "incomplete rollback error".
Use a separate database connection for sessions than for your other SQL code, to avoid incompatible code stomping on each other's transactions.
### NOT YET IMPLEMENTED ###
Class |
|
No class docstring; 0/2 instance variable, 0/3 class variable, 1/7 method documented |
Constant | DEFAULT |
Undocumented |