Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

…le based solution for newly quickstarted projects
  • Loading branch information...
commit 124779972ea561b3ba245e650598ad01ee9bdd47 1 parent cb2f147
@amol- amol- authored
Showing with 6 additions and 0 deletions.
  1. +6 −0 devtools/templates/turbogears/development.ini_tmpl
View
6 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
Please sign in to comment.
Something went wrong with that request. Please try again.