def sessions(): from users import SessionSetDb person.render('/admin/home/sessions.html') set_db = SessionSetDb('web2py_session_' + request.application, db) return dict(sessions=set_db.sessions())
def sessions(): from users import SessionSetDb set_db = SessionSetDb('web2py_session_cas', db) response.view = '%s/admin/home/sessions.html' % CONFIG_THEME return dict(sessions=set_db.sessions())