1. cherrypy
  2. CherryPy

Commits

Remi Delon  committed 9f79213

Changed my mind: sessions are no longer enabled by default

  • Participants
  • Parent commits b647065
  • Branches default

Comments (0)

Files changed (2)

File ChangeLog.txt

View file
     * Added request.requestLine - ticket #52 (Remi)
-    * Default session storageType is now ram (Remi)
     * logFile config option is now honored - ticket #51 (Remi)
     * Added cpg.request.remoteAddr and cpg.request.remoteHost - ticket #34 (Eurleif) 
     * Improved baseurlfilter to handle x-forwarded-host - ticket #49 (Kender)

File cherrypy/_cpconfig.py

View file
     cpg.configOption.staticContentList = []
 
     # Variable used for session handling
-    cpg.configOption.sessionStorageType = "ram"
+    cpg.configOption.sessionStorageType = ""
     cpg.configOption.sessionTimeout = 60 # In minutes
     cpg.configOption.sessionCleanUpDelay = 60 # In minutes
     cpg.configOption.sessionCookieName = "CherryPySession"