class documentation
Open a 'shelve' dictionary with the given filename, and store sessions in it.
Shelve is not thread safe or multiprocess safe. See the "Restrictions" section for the shelve module in the Python Library Reference for information about file locking.
Method | __init__ |
__init__ takes the filename to use as the shelve store. |
Method | delete |
Delete the given session from the shelf. |
Method | load |
Load the session from the shelf. |
Method | open |
Open the shelve store file. |
Method | save |
Save the session to the shelf. |
Class Variable | is |
Undocumented |
Class Variable | is |
Undocumented |
Instance Variable | filename |
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. |