Home | Trees | Index | Help |
|
---|
Package session2 :: Package store :: Module DurusSessionStore :: Class DurusSessionStore |
|
SessionStore
--+
|
DurusSessionStore
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 Summary | |
---|---|
__init__ takes a Durus connection object. | |
Delete the given session from the shelf. | |
Load the session from the shelf. | |
Save the session to the shelf. | |
Inherited from SessionStore | |
Delete all sessions that have not been modified for N minutes. | |
Return true if the session exists in the store, else false. | |
Return an iterable of (id, session) for all sessions in the store. | |
Initialize the session store; e.g., create required database tables. |
Class Variable Summary | |
---|---|
bool |
is_multiprocess_safe = True
|
bool |
is_thread_safe = False
|
Method Details |
---|
__init__(self,
connection)
|
delete_session(self, session)Delete the given session from the shelf. |
load_session(self, id, default=None)Load the session from the shelf. |
save_session(self, session)Save the session to the shelf. |
Class Variable Details |
---|
is_multiprocess_safe
|
is_thread_safe
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Sat Feb 4 16:40:10 2006 | http://epydoc.sf.net |