web.web.session.Session

Package web :: Package web :: Module session :: Class Session |
[hide private]
[frames] | no frames]

# Class Session

source code

    utils.ThreadedDict --+
                         |
                        Session

Session management for web.py

Instance Methods | [hide private]
__init__(self, app, store, initializer=None) | source code
_processor(self, handler) Application processor to setup session for every request | source code
_load(self) Load the session from the store, by the id from cookie | source code
_check_expiry(self) | source code
_validate_ip(self) | source code
_save(self) | source code
_generate_session_id(self) Generate a random id for session | source code
_valid_session_id(self, session_id) | source code
_cleanup(self) Cleanup the stored sessions | source code
expired(self) Called when an expired session is atime | source code
kill(self) Kill the session, make it no longer available | source code
Inherited from `utils.ThreadedDict`: `__delattr__`, `__getattr__`, `__hash__`, `__setattr__` Inherited from `utils.ThreadedDict` (private): `_getd`