1
0
mirror of https://github.com/django/django.git synced 2025-10-26 07:06:08 +00:00

Added SESSION_SAVE_EVERY_REQUEST setting.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@1303 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Adrian Holovaty
2005-11-20 17:16:13 +00:00
parent cd01d6d381
commit 3895a825a9
4 changed files with 55 additions and 6 deletions

View File

@@ -195,6 +195,7 @@ MIDDLEWARE_CLASSES = (
SESSION_COOKIE_NAME = 'hotclub' # Cookie name. This can be whatever you want.
SESSION_COOKIE_AGE = 60 * 60 * 24 * 7 * 2 # Age of cookie, in seconds (default: 2 weeks).
SESSION_COOKIE_DOMAIN = None # A string like ".lawrence.com", or None for standard domain cookie.
SESSION_SAVE_EVERY_REQUEST = False # Whether to save the session data on every request.
#########
# CACHE #