Home | Trees | Indices | Help |
---|
|
A persistent user session.
A 'Session' object represents an ongoing user interaction with the web server.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|
Create a new session. 'request' -- A 'WebRequest' object in response to which this session is created. 'user_id' -- The ID of the user owning the session. 'expiration_timeout -- The expiration time, in seconds. If a session is not accessed for this duration, it is expired and no longer usable. |
Return the user record for the owning user. returns -- A 'qm.user.User' object. |
Make sure the session is OK for a request. 'request' -- A 'WebRequest' object. raises -- 'InvalidSessionError' if the session is invalid for the request. |
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Fri Dec 23 12:30:42 2011 | http://epydoc.sourceforge.net |