Configuration is done in the ``[app:main]`` section of an ``.ini``
configuration file.
+Those using HTTPS can improve security by changing the session.secure
+configuration setting to True.
+
Advanced Configuration
^^^^^^^^^^^^^^^^^^^^^^
# HMAC secret
#session.secret = xxxxxxrandomstring40characterslongxxxxxx
# Send cookie only over https
-session.secure = True
+# WARNING: To use HTTP, not HTTPS, session.secure must be False!
+# CAUTION: If you are forcing the browser to use HTTPS you want
+# session.secure to be True.
+session.secure = False
# Sessions timeout after an hour if unused.
session.timeout = 3600
# Pyramid sends cookies for exception pages
#session.secret = xxxxxxrandomstring40characterslongxxxxxx
# Send cookie only over https
# (True for production)
+# WARNING: To use HTTP, not HTTPS, session.secure must be False!
+# CAUTION: If you are forcing the browser to use HTTPS you want
+# session.secure to be True.
session.secure = False
# Sessions timeout after an hour if unused.
session.timeout = 3600