| Home | Trees | Index | Help |
|
|---|
| Package session2 :: Package store :: Module VolatileSessionStore :: Class VolatileSessionStore |
|
SessionStore --+
|
VolatileSessionStore
A simple volatile (non-persistent) session store for session2.
| Method Summary | |
|---|---|
Create the dictionary. | |
Delete the session in the dictionary. | |
Return true if the session exists in the dictionary, else false. | |
Return the session if it exists, else return 'default'. | |
Save the session in the dictionary.. | |
| Inherited from SessionStore | |
Delete all sessions that have not been modified for N minutes. | |
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 = True
|
| Method Details |
|---|
__init__(self)
|
delete_session(self, session)Delete the session in the dictionary. |
has_session(self, id)Return true if the session exists in the dictionary, else false. |
load_session(self, id, default=None)Return the session if it exists, else return 'default'. |
save_session(self, session)Save the session in the dictionary.. |
| 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 |