Permalink
Browse files

Storing sessions in encrypted cookies is easier to manage then the fi…

…le based solution for newly quickstarted projects
  • Loading branch information...
amol- committed Apr 11, 2012
1 parent cb2f147 commit 124779972ea561b3ba245e650598ad01ee9bdd47
Showing with 6 additions and 0 deletions.
  1. +6 −0 devtools/templates/turbogears/development.ini_tmpl
@@ -30,6 +30,12 @@ cache_dir = %(here)s/data
beaker.session.key = {{package}}
beaker.session.secret = {{cookiesecret}}
+#By default session is store in cookies to avoid the overhead
+#of having to manage a session storage. On production you might
+#want to switch to a better session storage.
+beaker.session.type = cookie
+beaker.session.validate_key = {{cookiesecret}}
+
# Disable template autoreload to boost performances in production
#auto_reload_templates = false

0 comments on commit 1247799

Please sign in to comment.