Download Install Tutorial Docs FAQ Tools WikiLicense Team IRC Planet Involvement Shop Book

Changeset 960

Show
Ignore:
Timestamp:
02/08/06 01:40:38
Author:
rdelon
Message:

Don't disable sessions automatically if static_filter is enabled ... Some people may want to use session_authenticate_filter for serving static content so they need sessions in that case ... Note that in the most common case (ie: not needing sessions for serving static content), the session data won't be loaded/saved due to the new lazy session data handling (see [940]), so there won't be any speed penalty

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/cherrypy/filters/sessionfilter.py

    r958 r960  
    6464         
    6565        sess = cherrypy.request._session 
    66         # Dont enable session if session_filter is off or if this is a 
    67         #   request for static data 
    68         if ((not conf('session_filter.on', False)) 
    69               or conf('static_filter.on', False)): 
     66        if not conf('session_filter.on', False): 
    7067            sess.session_storage = None 
    7168            return 
  • trunk/setup.py

    r928 r960  
    2323long_desc = "CherryPy is a pythonic, object-oriented web development framework" 
    2424classifiers=[ 
    25     "Development Status :: Stable", 
     25    #"Development Status :: 5 - Production/Stable", 
     26    "Development Status :: 4 - Beta", 
    2627    "Intended Audience :: Developers", 
    2728    "License :: Freely Distributable", 

Hosted by WebFaction

Log in as guest/cpguest to create tickets