-
session3
index.html
Package
Package
PUBLIC
A refactored Quixote 3.0 session manager and associated persistent session stores.
-
session3.DictSession
session3.DictSession.html
Module
Module
PUBLIC
No module docstring; 1/1 class documented
-
session3.Session
session3.Session.html
Module
Module
PUBLIC
No module docstring; 1/1 class documented
-
session3.SessionManager
session3.SessionManager.html
Module
Module
PUBLIC
No module docstring; 1/1 class documented
-
session3.store
session3.store.html
Package
Package
PUBLIC
-
session3.store.DirectorySessionStore
session3.store.DirectorySessionStore.html
Module
Module
PUBLIC
Store sessions in individual files within a directory.
-
session3.store.DurusSessionStore
session3.store.DurusSessionStore.html
Module
Module
PUBLIC
Store sessions in a Durus database.
-
session3.store.MySQLSessionStore
session3.store.MySQLSessionStore.html
Module
Module
PUBLIC
Store sessions in a MySQL table.
-
session3.store.PostgresSessionStore
session3.store.PostgresSessionStore.html
Module
Module
PUBLIC
Store sessions in a PostgreSQL table.
-
session3.store.SessionStore
session3.store.SessionStore.html
Module
Module
PUBLIC
Base class for persistent session stores.
-
session3.store.ShelveSessionStore
session3.store.ShelveSessionStore.html
Module
Module
PUBLIC
Store sessions in a 'shelve' database.
-
session3.store.VolatileSessionStore
session3.store.VolatileSessionStore.html
Module
Module
PUBLIC
A simple in-memory volatile session store, mimicking the default Quixote session management. Here for example's sake only...
-
session3.__version__
index.html#__version__
Attribute
Variable
PUBLIC
Undocumented
-
session3.Session.Session
session3.Session.Session.html
Class
Class
PUBLIC
Holds information about the current session.
-
session3.Session.Session.MAX_FORM_TOKENS
session3.Session.Session.html#MAX_FORM_TOKENS
Attribute
Constant
PUBLIC
Undocumented
-
session3.Session.Session.__init__
session3.Session.Session.html#__init__
Function
Method
PUBLIC
-
session3.Session.Session.id
session3.Session.Session.html#id
Attribute
Instance Variable
PUBLIC
Undocumented
-
session3.Session.Session.user
session3.Session.Session.html#user
Attribute
Instance Variable
PUBLIC
Undocumented
-
session3.Session.Session._remote_address
session3.Session.Session.html#_remote_address
Attribute
Instance Variable
PRIVATE
Undocumented
-
session3.Session.Session._creation_time
session3.Session.Session.html#_creation_time
Attribute
Instance Variable
PRIVATE
Undocumented
-
session3.Session.Session._access_time
session3.Session.Session.html#_access_time
Attribute
Instance Variable
PRIVATE
Undocumented
-
session3.Session.Session._form_tokens
session3.Session.Session.html#_form_tokens
Attribute
Instance Variable
PRIVATE
Undocumented
-
session3.Session.Session.__repr__
session3.Session.Session.html#__repr__
Function
Method
PUBLIC
Undocumented
-
session3.Session.Session.__str__
session3.Session.Session.html#__str__
Function
Method
PUBLIC
Undocumented
-
session3.Session.Session.has_info
session3.Session.Session.html#has_info
Function
Method
PUBLIC
Return True if this session contains any information that must be saved.
-
session3.Session.Session.dump
session3.Session.Session.html#dump
Function
Method
PUBLIC
Undocumented
-
session3.Session.Session.start_request
session3.Session.Session.html#start_request
Function
Method
PUBLIC
Called near the beginning of each request: after the HTTPRequest object has been built, but before we traverse the URL or call the callable object found by URL traversal.
-
session3.Session.Session.set_user
session3.Session.Session.html#set_user
Function
Method
PUBLIC
Undocumented
-
session3.Session.Session.get_user
session3.Session.Session.html#get_user
Function
Method
PUBLIC
Undocumented
-
session3.Session.Session.get_remote_address
session3.Session.Session.html#get_remote_address
Function
Method
PUBLIC
Return the IP address (dotted-quad string) that made the initial request in this session.
-
session3.Session.Session.get_creation_time
session3.Session.Session.html#get_creation_time
Function
Method
PUBLIC
Return the time that this session was created (seconds since epoch).
-
session3.Session.Session.get_access_time
session3.Session.Session.html#get_access_time
Function
Method
PUBLIC
Return the time that this session was last accessed (seconds since epoch).
-
session3.Session.Session.get_creation_age
session3.Session.Session.html#get_creation_age
Function
Method
PUBLIC
_now arg is not strictly necessary, but there for consistency with
get_access_age()
-
session3.Session.Session.get_access_age
session3.Session.Session.html#get_access_age
Function
Method
PUBLIC
Return the number of seconds since session was last accessed.
-
session3.Session.Session._set_access_time
session3.Session.Session.html#_set_access_time
Function
Method
PRIVATE
Undocumented
-
session3.Session.Session.create_form_token
session3.Session.Session.html#create_form_token
Function
Method
PUBLIC
Create a new form token and add it to a queue of outstanding form tokens for this session. A maximum of
MAX_FORM_TOKENS are saved. The new token is returned.
-
session3.Session.Session.has_form_token
session3.Session.Session.html#has_form_token
Function
Method
PUBLIC
Return True if token is in the queue of outstanding tokens.
-
session3.Session.Session.remove_form_token
session3.Session.Session.html#remove_form_token
Function
Method
PUBLIC
Remove token from the queue of outstanding tokens.
-
session3.DictSession.DictSession
session3.DictSession.DictSession.html
Class
Class
PUBLIC
A session object that also acts like a dictionary.
-
session3.DictSession.DictSession.__init__
session3.DictSession.DictSession.html#__init__
Function
Method
PUBLIC
-
session3.SessionManager.SessionManager
session3.SessionManager.SessionManager.html
Class
Class
PUBLIC
A persistent session manager for Quixote.
-
session3.SessionManager.SessionManager.ACCESS_TIME_RESOLUTION
session3.SessionManager.SessionManager.html#ACCESS_TIME_RESOLUTION
Attribute
Constant
PUBLIC
Undocumented
-
session3.SessionManager.SessionManager.__init__
session3.SessionManager.SessionManager.html#__init__
Function
Method
PUBLIC
__init__ takes a session store instance and (optionally) the session class to use for storing session information. (This defaults to
Session.Session).
-
session3.SessionManager.SessionManager.store
session3.SessionManager.SessionManager.html#store
Attribute
Instance Variable
PUBLIC
Undocumented
-
session3.SessionManager.SessionManager.session_class
session3.SessionManager.SessionManager.html#session_class
Attribute
Instance Variable
PUBLIC
Undocumented
-
session3.SessionManager.SessionManager.expired_sessions
session3.SessionManager.SessionManager.html#expired_sessions
Attribute
Instance Variable
PUBLIC
Undocumented
-
session3.SessionManager.SessionManager.__repr__
session3.SessionManager.SessionManager.html#__repr__
Function
Method
PUBLIC
Undocumented
-
session3.SessionManager.SessionManager.get_session
session3.SessionManager.SessionManager.html#get_session
Function
Method
PUBLIC
Fetch or create a session object for the current session, and return it. If a session cookie is found in the HTTP request object, use it to look up and return an existing session object. If no session cookie is found, create a new session.
-
session3.SessionManager.SessionManager.maintain_session
session3.SessionManager.SessionManager.html#maintain_session
Function
Method
PUBLIC
Maintain session information. This method is called after servicing an HTTP request, just before the response is returned. If a session contains information a cookie is dropped on the client and True is returned...
-
session3.SessionManager.SessionManager.expire_session
session3.SessionManager.SessionManager.html#expire_session
Function
Method
PUBLIC
Expire the current session, ie. revoke the session cookie from the client, remove the session object from the current request, and list it for permanent removal.
-
session3.SessionManager.SessionManager.has_session
session3.SessionManager.SessionManager.html#has_session
Function
Method
PUBLIC
Return true if a session identified by 'session_id' exists in the session manager.
-
session3.SessionManager.SessionManager.clear_session
session3.SessionManager.SessionManager.html#clear_session
Function
Method
PUBLIC
Clear any residual session information for this request.
-
session3.SessionManager.SessionManager.start_request
session3.SessionManager.SessionManager.html#start_request
Function
Method
PUBLIC
Called near the beginning of each request: after the HTTPRequest object has been built, but before we traverse the URL or call the callable object found by URL traversal.
-
session3.SessionManager.SessionManager.finish_successful_request
session3.SessionManager.SessionManager.html#finish_successful_request
Function
Method
PUBLIC
Called near the end of each successful request. Not called if there were any errors processing the request.
-
session3.SessionManager.SessionManager.finish_failed_request
session3.SessionManager.SessionManager.html#finish_failed_request
Function
Method
PUBLIC
Called near the end of a failed request (i.e. a exception that was not a PublisherError was raised.
-
session3.SessionManager.SessionManager.new_session
session3.SessionManager.SessionManager.html#new_session
Function
Method
PUBLIC
Return a new session object, ie. an instance of the session_class class passed to the constructor (defaults to
Session).
-
session3.SessionManager.SessionManager._get_session_id
session3.SessionManager.SessionManager.html#_get_session_id
Function
Method
PRIVATE
Find the ID of the current session by looking for the session cookie in the request. Return None if no such cookie or the cookie has been expired, otherwise return the cookie's value.
-
session3.SessionManager.SessionManager._make_session_id
session3.SessionManager.SessionManager.html#_make_session_id
Function
Method
PRIVATE
Undocumented
-
session3.SessionManager.SessionManager._create_session
session3.SessionManager.SessionManager.html#_create_session
Function
Method
PRIVATE
Undocumented
-
session3.SessionManager.SessionManager._set_cookie
session3.SessionManager.SessionManager.html#_set_cookie
Function
Method
PRIVATE
Undocumented
-
session3.SessionManager.SessionManager.set_session_cookie
session3.SessionManager.SessionManager.html#set_session_cookie
Function
Method
PUBLIC
Ensure that a session cookie with value 'session_id' will be returned to the client via the response object.
-
session3.SessionManager.SessionManager.revoke_session_cookie
session3.SessionManager.SessionManager.html#revoke_session_cookie
Function
Method
PUBLIC
Remove the session cookie from the remote user's session by resetting the value and maximum age in the response object. Also remove the cookie from the request so that further processing of this request does not see the cookie's revoked value.
-
session3.SessionManager.SessionManager.has_session_cookie
session3.SessionManager.SessionManager.html#has_session_cookie
Function
Method
PUBLIC
Return true if the request already has a cookie identifying a session object. If 'must_exist' is true, the cookie must correspond to a currently existing session; otherwise (the default), we just check for the existence of the session cookie and don't inspect its content at all.
-
session3.store.SessionStore.SessionStore
session3.store.SessionStore.SessionStore.html
Class
Class
PUBLIC
-
session3.store.SessionStore.SessionStore.is_multiprocess_safe
session3.store.SessionStore.SessionStore.html#is_multiprocess_safe
Attribute
Class Variable
PUBLIC
Undocumented
-
session3.store.SessionStore.SessionStore.is_thread_safe
session3.store.SessionStore.SessionStore.html#is_thread_safe
Attribute
Class Variable
PUBLIC
Undocumented
-
session3.store.SessionStore.SessionStore.load_session
session3.store.SessionStore.SessionStore.html#load_session
Function
Method
PUBLIC
Return the session if it exists, else return 'default'.
-
session3.store.SessionStore.SessionStore.save_session
session3.store.SessionStore.SessionStore.html#save_session
Function
Method
PUBLIC
Save the session in the store.
-
session3.store.SessionStore.SessionStore.delete_session
session3.store.SessionStore.SessionStore.html#delete_session
Function
Method
PUBLIC
Delete the session in the store.
-
session3.store.SessionStore.SessionStore.has_session
session3.store.SessionStore.SessionStore.html#has_session
Function
Method
PUBLIC
Return true if the session exists in the store, else false.
-
session3.store.SessionStore.SessionStore.iter_sessions
session3.store.SessionStore.SessionStore.html#iter_sessions
Function
Method
PUBLIC
Return an iterable of (id, session) for all sessions in the store.
-
session3.store.SessionStore.SessionStore.setup
session3.store.SessionStore.SessionStore.html#setup
Function
Method
PUBLIC
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.
-
session3.store.SessionStore.SessionStore.delete_old_sessions
session3.store.SessionStore.SessionStore.html#delete_old_sessions
Function
Method
PUBLIC
Delete all sessions that have not been modified for N minutes. The default implementation does nothing, meaning the store cannot delete old sessions.
-
session3.store.DirectorySessionStore.SLEEPY_TIME
session3.store.DirectorySessionStore.html#SLEEPY_TIME
Attribute
Constant
PUBLIC
Undocumented
-
session3.store.DirectorySessionStore.DirectorySessionStore
session3.store.DirectorySessionStore.DirectorySessionStore.html
Class
Class
PUBLIC
Store sessions in individual files within a directory.
-
session3.store.DirectorySessionStore.DirectorySessionStore.is_multiprocess_safe
session3.store.DirectorySessionStore.DirectorySessionStore.html#is_multiprocess_safe
Attribute
Class Variable
PUBLIC
Undocumented
-
session3.store.DirectorySessionStore.DirectorySessionStore.is_thread_safe
session3.store.DirectorySessionStore.DirectorySessionStore.html#is_thread_safe
Attribute
Class Variable
PUBLIC
Undocumented
-
session3.store.DirectorySessionStore.DirectorySessionStore.pickle_protocol
session3.store.DirectorySessionStore.DirectorySessionStore.html#pickle_protocol
Attribute
Class Variable
PUBLIC
Undocumented
-
session3.store.DirectorySessionStore.DirectorySessionStore.__init__
session3.store.DirectorySessionStore.DirectorySessionStore.html#__init__
Function
Method
PUBLIC
__init__ takes a directory name, with an option to create it if it's not already there.
-
session3.store.DirectorySessionStore.DirectorySessionStore.directory
session3.store.DirectorySessionStore.DirectorySessionStore.html#directory
Attribute
Instance Variable
PUBLIC
Undocumented
-
session3.store.DirectorySessionStore.DirectorySessionStore._make_filename
session3.store.DirectorySessionStore.DirectorySessionStore.html#_make_filename
Function
Method
PRIVATE
Build the filename from the session ID.
-
session3.store.DirectorySessionStore.DirectorySessionStore.save_session
session3.store.DirectorySessionStore.DirectorySessionStore.html#save_session
Function
Method
PUBLIC
Pickle the session and save it into a file.
-
session3.store.DirectorySessionStore.DirectorySessionStore.load_session
session3.store.DirectorySessionStore.DirectorySessionStore.html#load_session
Function
Method
PUBLIC
Load the pickled session from a file.
-
session3.store.DirectorySessionStore.DirectorySessionStore.delete_session
session3.store.DirectorySessionStore.DirectorySessionStore.html#delete_session
Function
Method
PUBLIC
Delete the session file.
-
session3.store.DirectorySessionStore.DirectorySessionStore.delete_old_sessions
session3.store.DirectorySessionStore.DirectorySessionStore.html#delete_old_sessions
Function
Method
PUBLIC
Delete all sessions that have not been modified for N minutes.
-
session3.store.DurusSessionStore.DurusSessionStore
session3.store.DurusSessionStore.DurusSessionStore.html
Class
Class
PUBLIC
A session store for Durus, a simple object database.
-
session3.store.DurusSessionStore.DurusSessionStore.is_multiprocess_safe
session3.store.DurusSessionStore.DurusSessionStore.html#is_multiprocess_safe
Attribute
Class Variable
PUBLIC
Undocumented
-
session3.store.DurusSessionStore.DurusSessionStore.is_thread_safe
session3.store.DurusSessionStore.DurusSessionStore.html#is_thread_safe
Attribute
Class Variable
PUBLIC
Undocumented
-
session3.store.DurusSessionStore.DurusSessionStore.__init__
session3.store.DurusSessionStore.DurusSessionStore.html#__init__
Function
Method
PUBLIC
-
session3.store.DurusSessionStore.DurusSessionStore.connection
session3.store.DurusSessionStore.DurusSessionStore.html#connection
Attribute
Instance Variable
PUBLIC
Undocumented
-
session3.store.DurusSessionStore.DurusSessionStore.sessions_dict
session3.store.DurusSessionStore.DurusSessionStore.html#sessions_dict
Attribute
Instance Variable
PUBLIC
Undocumented
-
session3.store.DurusSessionStore.DurusSessionStore.load_session
session3.store.DurusSessionStore.DurusSessionStore.html#load_session
Function
Method
PUBLIC
Load the session from the shelf.
-
session3.store.DurusSessionStore.DurusSessionStore.delete_session
session3.store.DurusSessionStore.DurusSessionStore.html#delete_session
Function
Method
PUBLIC
Delete the given session from the shelf.
-
session3.store.DurusSessionStore.DurusSessionStore.save_session
session3.store.DurusSessionStore.DurusSessionStore.html#save_session
Function
Method
PUBLIC
Save the session to the shelf.
-
session3.store.MySQLSessionStore.DEFAULT_TABLE
session3.store.MySQLSessionStore.html#DEFAULT_TABLE
Attribute
Constant
PUBLIC
Undocumented
-
session3.store.MySQLSessionStore.MySQLSessionStore
session3.store.MySQLSessionStore.MySQLSessionStore.html
Class
Class
PUBLIC
No class docstring; 0/2 instance variable, 0/3 class variable, 1/7 method documented
-
session3.store.MySQLSessionStore.MySQLSessionStore.is_multiprocess_safe
session3.store.MySQLSessionStore.MySQLSessionStore.html#is_multiprocess_safe
Attribute
Class Variable
PUBLIC
Undocumented
-
session3.store.MySQLSessionStore.MySQLSessionStore.is_thread_safe
session3.store.MySQLSessionStore.MySQLSessionStore.html#is_thread_safe
Attribute
Class Variable
PUBLIC
Undocumented
-
session3.store.MySQLSessionStore.MySQLSessionStore.pickle_protocol
session3.store.MySQLSessionStore.MySQLSessionStore.html#pickle_protocol
Attribute
Class Variable
PUBLIC
Undocumented
-
session3.store.MySQLSessionStore.MySQLSessionStore.__init__
session3.store.MySQLSessionStore.MySQLSessionStore.html#__init__
Function
Method
PUBLIC
__init__ takes a MySQLdb connection object, together with an optional 'table' argument containing the name of the table to use.
-
session3.store.MySQLSessionStore.MySQLSessionStore.conn
session3.store.MySQLSessionStore.MySQLSessionStore.html#conn
Attribute
Instance Variable
PUBLIC
Undocumented
-
session3.store.MySQLSessionStore.MySQLSessionStore.table
session3.store.MySQLSessionStore.MySQLSessionStore.html#table
Attribute
Instance Variable
PUBLIC
Undocumented
-
session3.store.MySQLSessionStore.MySQLSessionStore.load_session
session3.store.MySQLSessionStore.MySQLSessionStore.html#load_session
Function
Method
PUBLIC
Return the session if it exists, else return 'default'.
-
session3.store.MySQLSessionStore.MySQLSessionStore.save_session
session3.store.MySQLSessionStore.MySQLSessionStore.html#save_session
Function
Method
PUBLIC
Save the session in the store.
-
session3.store.MySQLSessionStore.MySQLSessionStore.delete_session
session3.store.MySQLSessionStore.MySQLSessionStore.html#delete_session
Function
Method
PUBLIC
Delete the session in the store.
-
session3.store.MySQLSessionStore.MySQLSessionStore.iter_sessions
session3.store.MySQLSessionStore.MySQLSessionStore.html#iter_sessions
Function
Method
PUBLIC
Return an iterable of (id, session) for all sessions in the store.
-
session3.store.MySQLSessionStore.MySQLSessionStore.setup
session3.store.MySQLSessionStore.MySQLSessionStore.html#setup
Function
Method
PUBLIC
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.
-
session3.store.MySQLSessionStore.MySQLSessionStore.delete_old_sessions
session3.store.MySQLSessionStore.MySQLSessionStore.html#delete_old_sessions
Function
Method
PUBLIC
Delete all sessions that have not been modified for N minutes. The default implementation does nothing, meaning the store cannot delete old sessions.
-
session3.store.PostgresSessionStore.DEFAULT_TABLE
session3.store.PostgresSessionStore.html#DEFAULT_TABLE
Attribute
Constant
PUBLIC
Undocumented
-
session3.store.PostgresSessionStore.PostgresSessionStore
session3.store.PostgresSessionStore.PostgresSessionStore.html
Class
Class
PUBLIC
Store pickled sessions in an SQL database.
-
session3.store.PostgresSessionStore.PostgresSessionStore.is_multiprocess_safe
session3.store.PostgresSessionStore.PostgresSessionStore.html#is_multiprocess_safe
Attribute
Class Variable
PUBLIC
Undocumented
-
session3.store.PostgresSessionStore.PostgresSessionStore.is_thread_safe
session3.store.PostgresSessionStore.PostgresSessionStore.html#is_thread_safe
Attribute
Class Variable
PUBLIC
Undocumented
-
session3.store.PostgresSessionStore.PostgresSessionStore.__init__
session3.store.PostgresSessionStore.PostgresSessionStore.html#__init__
Function
Method
PUBLIC
__init__ takes a psycopg connection to a PostgreSQL database, together with an optional table name, 'table'.
-
session3.store.PostgresSessionStore.PostgresSessionStore.conn
session3.store.PostgresSessionStore.PostgresSessionStore.html#conn
Attribute
Instance Variable
PUBLIC
Undocumented
-
session3.store.PostgresSessionStore.PostgresSessionStore.table
session3.store.PostgresSessionStore.PostgresSessionStore.html#table
Attribute
Instance Variable
PUBLIC
Undocumented
-
session3.store.PostgresSessionStore.PostgresSessionStore.load_session
session3.store.PostgresSessionStore.PostgresSessionStore.html#load_session
Function
Method
PUBLIC
Load a pickled session from the database.
-
session3.store.PostgresSessionStore.PostgresSessionStore.save_session
session3.store.PostgresSessionStore.PostgresSessionStore.html#save_session
Function
Method
PUBLIC
Pickle session & save it into the database.
-
session3.store.PostgresSessionStore.PostgresSessionStore.delete_session
session3.store.PostgresSessionStore.PostgresSessionStore.html#delete_session
Function
Method
PUBLIC
Delete session from the database.
-
session3.store.PostgresSessionStore.PostgresSessionStore.setup
session3.store.PostgresSessionStore.PostgresSessionStore.html#setup
Function
Method
PUBLIC
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.
-
session3.store.ShelveSessionStore.ShelveSessionStore
session3.store.ShelveSessionStore.ShelveSessionStore.html
Class
Class
PUBLIC
Open a 'shelve' dictionary with the given filename, and store sessions in it.
-
session3.store.ShelveSessionStore.ShelveSessionStore.is_multiprocess_safe
session3.store.ShelveSessionStore.ShelveSessionStore.html#is_multiprocess_safe
Attribute
Class Variable
PUBLIC
Undocumented
-
session3.store.ShelveSessionStore.ShelveSessionStore.is_thread_safe
session3.store.ShelveSessionStore.ShelveSessionStore.html#is_thread_safe
Attribute
Class Variable
PUBLIC
Undocumented
-
session3.store.ShelveSessionStore.ShelveSessionStore.__init__
session3.store.ShelveSessionStore.ShelveSessionStore.html#__init__
Function
Method
PUBLIC
__init__ takes the filename to use as the shelve store.
-
session3.store.ShelveSessionStore.ShelveSessionStore.filename
session3.store.ShelveSessionStore.ShelveSessionStore.html#filename
Attribute
Instance Variable
PUBLIC
Undocumented
-
session3.store.ShelveSessionStore.ShelveSessionStore.open
session3.store.ShelveSessionStore.ShelveSessionStore.html#open
Function
Method
PUBLIC
Open the shelve store file.
-
session3.store.ShelveSessionStore.ShelveSessionStore.load_session
session3.store.ShelveSessionStore.ShelveSessionStore.html#load_session
Function
Method
PUBLIC
Load the session from the shelf.
-
session3.store.ShelveSessionStore.ShelveSessionStore.delete_session
session3.store.ShelveSessionStore.ShelveSessionStore.html#delete_session
Function
Method
PUBLIC
Delete the given session from the shelf.
-
session3.store.ShelveSessionStore.ShelveSessionStore.save_session
session3.store.ShelveSessionStore.ShelveSessionStore.html#save_session
Function
Method
PUBLIC
Save the session to the shelf.
-
session3.store.VolatileSessionStore.VolatileSessionStore
session3.store.VolatileSessionStore.VolatileSessionStore.html
Class
Class
PUBLIC
A simple volatile (non-persistent) session store for session3.
-
session3.store.VolatileSessionStore.VolatileSessionStore.is_multiprocess_safe
session3.store.VolatileSessionStore.VolatileSessionStore.html#is_multiprocess_safe
Attribute
Class Variable
PUBLIC
Undocumented
-
session3.store.VolatileSessionStore.VolatileSessionStore.is_thread_safe
session3.store.VolatileSessionStore.VolatileSessionStore.html#is_thread_safe
Attribute
Class Variable
PUBLIC
Undocumented
-
session3.store.VolatileSessionStore.VolatileSessionStore.__init__
session3.store.VolatileSessionStore.VolatileSessionStore.html#__init__
Function
Method
PUBLIC
Create the dictionary.
-
session3.store.VolatileSessionStore.VolatileSessionStore.sessions
session3.store.VolatileSessionStore.VolatileSessionStore.html#sessions
Attribute
Instance Variable
PUBLIC
Undocumented
-
session3.store.VolatileSessionStore.VolatileSessionStore.load_session
session3.store.VolatileSessionStore.VolatileSessionStore.html#load_session
Function
Method
PUBLIC
Return the session if it exists, else return 'default'.
-
session3.store.VolatileSessionStore.VolatileSessionStore.save_session
session3.store.VolatileSessionStore.VolatileSessionStore.html#save_session
Function
Method
PUBLIC
Save the session in the dictionary..
-
session3.store.VolatileSessionStore.VolatileSessionStore.delete_session
session3.store.VolatileSessionStore.VolatileSessionStore.html#delete_session
Function
Method
PUBLIC
Delete the session in the dictionary.
-
session3.store.VolatileSessionStore.VolatileSessionStore.has_session
session3.store.VolatileSessionStore.VolatileSessionStore.html#has_session
Function
Method
PUBLIC
Return true if the session exists in the dictionary, else false.