Commits

Ning Sun committed a24c5f4

session backend changes to dbm

  • Participants
  • Parent commits 8dea771

Comments (0)

Files changed (1)

     redirect('/users/')
 
 session_opts = {
-    'session.type':'memory',
+    'session.type':'dbm',
     'session.cookie_expires': True,
     'session.auto': True,
-#    'session.data_dir':'tmp/data',
-#   'session.lock_dir':'tmp/lock'
+    'session.timeout':1800,
+    'session.data_dir':'/tmp/chrino/data',
+    'session.lock_dir':'/tmp/chrino/lock'
 }
 
 chrino = SessionMiddleware(chrino, session_opts)