| Home | Trees | Indices | Help |
|
|---|
|
|
object --+
|
Session
A CherryPy dict-like Session object (one per request).
clean_freq [= 5]:
The poll rate for expired session cleanup in minutes.
clean_thread [= None]:
Class-level Monitor which calls self.clean_up.
id [= <property object at 0x15e9eb0>]:
The current session ID.
id_observers [= None]:
A list of callbacks to which to pass new id's.
loaded [= False]:
If True, data has been retrieved from storage. This should happen
automatically on the first attempt to access session data.
locked [= False]:
If True, this session instance has exclusive read/write access
to session data.
timeout [= 60]:
Number of minutes after which to delete session data.
|
|||
|
__metaclass__ Metaclass for declaring docstrings for class attributes. |
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
| True if D has a key k, else False. |
|
||
| D[k] if k in D, else d |
|
||
| None |
|
||
| D.get(k,d), also set D[k]=d if k not in D. |
|
||
| None |
|
||
| list of D's keys. |
|
||
| list of D's (key, value) pairs, as 2-tuples. |
|
||
| list of D's values. |
|
||
|
Inherited from |
|||
|
|||
_id = None
|
|||
id_observers = None
|
|||
id_observers__doc = "A list of callbacks to which to pass new
|
|||
id__doc = "The current session ID."
|
|||
timeout = 60
|
|||
timeout__doc = "Number of minutes after which to delete sessio
|
|||
locked = False
|
|||
locked__doc =
|
|||
loaded = False
|
|||
loaded__doc =
|
|||
clean_thread = None
|
|||
clean_thread__doc = "Class-level Monitor which calls self.clea
|
|||
clean_freq = 5
|
|||
clean_freq__doc = "The poll rate for expired session cleanup i
|
|||
|
|||
|
id The current session ID. |
|||
|
Inherited from |
|||
|
|||
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
|
Remove the specified key and return the corresponding value. If key is not found, default is returned if given, otherwise KeyError is raised. |
|
|||
id_observers__doc
|
timeout__doc
|
locked__doc
|
loaded__doc
|
clean_thread__doc
|
clean_freq__doc
|
|
|||
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Sat Aug 15 15:33:02 2009 | http://epydoc.sourceforge.net |