Exemplo n.º 1
0
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())
Exemplo n.º 2
0
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())