Browse Source

Changed default session length to more sane for internet forum.

Ralfp 12 years ago
parent
commit
54d41a3a16
1 changed files with 1 additions and 1 deletions
  1. 1 1
      deployment/settings.py

+ 1 - 1
deployment/settings.py

@@ -42,7 +42,7 @@ COOKIES_PREFIX = '' # Allows you to avoid cookies collisions with other applicat
 COOKIES_SECURE = False # Set this to true if AND ONLY IF you are using SSL on your forum.
 COOKIES_SECURE = False # Set this to true if AND ONLY IF you are using SSL on your forum.
 
 
 # Sessions configuration
 # Sessions configuration
-SESSION_LIFETIME = 86400 # Number of seconds since last request after which session is marked as expired.
+SESSION_LIFETIME = 3600 # Number of seconds since last request after which session is marked as expired.
 
 
 # Local time zone for this installation. Choices can be found here:
 # Local time zone for this installation. Choices can be found here:
 # http://en.wikipedia.org/wiki/List_of_tz_zones_by_name
 # http://en.wikipedia.org/wiki/List_of_tz_zones_by_name