def __init__(self): sessions = PersistentDict() SessionManager.__init__( self, session_class=PersistentSession, session_mapping=sessions, )
def __init__(self, session_class=None, session_mapping=None): if not mod_py_sess_factory.has_key(session_class): ModPySession.setSessionClass(session_class) mod_py_sess_factory[session_class] = copy.copy(ModPySession) klass = mod_py_sess_factory.get(session_class) SessionManager.__init__(self, session_class=klass, session_mapping=session_mapping)
def __init__ (self, context): SessionManager.__init__(self, SqlQuixoteSession, SqlTableMap(context)) self.context = context
def __init__(self): sessions = PersistentDict() SessionManager.__init__(self, session_class=PersistentSession, session_mapping=sessions)
def __init__(self): cxn = db.get_cxn() SessionManager.__init__(self, SqlQuixoteSession, SqlTableMap(cxn))