Module session2.store.PostgresSessionStore
Store sessions in a PostgreSQL table.
Two extra methods are provided, .create_table and .delete_old_sessions.
These are not called by session2 but may be useful in your programs.
They use a third column of type TIMESTAMP, which is updated every time
the row changes.
This module assumes the connection is in transaction-mode (the default
for psycopg). Use a separate database connection for sessions, or
else your transactions will become confused.
DEFAULT_TABLE
-
- Type:
-
str
- Value:
|