class documentation
A session store for Durus, a simple object database.
Unlike the dulcinea Durus session store, session objects
themselves are not subclasses of Persistent; here they
are managed by DurusSessionStore directly.
| Method | __init__ |
__init__ takes a Durus connection object. |
| Method | delete |
Delete the given session from the shelf. |
| Method | load |
Load the session from the shelf. |
| Method | save |
Save the session to the shelf. |
| Class Variable | is |
Undocumented |
| Class Variable | is |
Undocumented |
| Instance Variable | connection |
Undocumented |
| Instance Variable | sessions |
Undocumented |
Inherited from SessionStore:
| Method | delete |
Delete all sessions that have not been modified for N minutes. The default implementation does nothing, meaning the store cannot delete old sessions. |
| Method | has |
Return true if the session exists in the store, else false. |
| Method | iter |
Return an iterable of (id, session) for all sessions in the store. |
| Method | setup |
Initialize the session store; e.g., create required database tables. If a previous store exists, overwrite it or raise an error. The default implmenetation does nothing, meaning no setup is necessary. |