BigBrotherBot v1.8.0
System Development Information for the BigBrotherBot project.

b3::lib::beaker::session::SessionObject Class Reference

List of all members.

Public Member Functions

def __init__
def __getattr__
def __setattr__
def __delattr__
def __getitem__
def __setitem__
def __delitem__
def __repr__
def __iter__
def __contains__
def get_by_id
def save
def delete
def persist
def dirty
def accessed

Private Member Functions

def _session

Detailed Description

Session proxy/lazy creator

This object proxies access to the actual session object, so that in
the case that the session hasn't been used before, it will be
setup. This avoid creating and loading the session from persistent
storage unless its actually used during the request.

Constructor & Destructor Documentation

def b3::lib::beaker::session::SessionObject::__init__ (   self,

Member Function Documentation

def b3::lib::beaker::session::SessionObject::__contains__ (   self,
def b3::lib::beaker::session::SessionObject::__delattr__ (   self,
def b3::lib::beaker::session::SessionObject::__delitem__ (   self,
def b3::lib::beaker::session::SessionObject::__getattr__ (   self,
def b3::lib::beaker::session::SessionObject::__getitem__ (   self,
def b3::lib::beaker::session::SessionObject::__iter__ (   self)
Only works for proxying to a dict
def b3::lib::beaker::session::SessionObject::__repr__ (   self)
def b3::lib::beaker::session::SessionObject::__setattr__ (   self,
def b3::lib::beaker::session::SessionObject::__setitem__ (   self,
def b3::lib::beaker::session::SessionObject::_session (   self) [private]
Lazy initial creation of session object
def b3::lib::beaker::session::SessionObject::accessed (   self)
Returns whether or not the session has been accessed
def b3::lib::beaker::session::SessionObject::delete (   self)
def b3::lib::beaker::session::SessionObject::dirty (   self)
def b3::lib::beaker::session::SessionObject::get_by_id (   self,
Loads a session given a session ID
def b3::lib::beaker::session::SessionObject::persist (   self)
Persist the session to the storage

If its set to autosave, then the entire session will be saved
regardless of if save() has been called. Otherwise, just the
accessed time will be updated if save() was not called, or
the session will be saved if save() was called.

def b3::lib::beaker::session::SessionObject::save (   self)

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Properties