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

Changeset 300

Show
Ignore:
Timestamp:
06/12/05 22:24:35
Author:
fumanchu
Message:

1. Sessionfilter now off by default.
2. Profiling now on by default for test suite.

Files:

Legend:

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

    r283 r300  
    2424    'session.storageFileDir': '', 
    2525     
    26     'sessionFilter.on': True, 
     26    'sessionFilter.on': False, 
    2727    'sessionFilter.timeout': 60, 
    2828    'sessionFilter.cleanUpDelay': 60, 
  • trunk/cherrypy/test/test.py

    r274 r300  
    163163                   'server.logToScreen': False, 
    164164                   'server.environment': "production", 
    165 ##                   'profiling.on': True, 
     165                   'profiling.on': True, 
    166166                   } 
    167167     
  • trunk/cherrypy/test/test_tutorials.py

    r279 r300  
    145145    def test08Sessions(self): 
    146146        load_tut_module("tut08_sessions") 
     147        cpg.config.update({"/": {"sessionFilter.on": True}}) 
    147148         
    148149        helper.request('/') 
     
    169170    def test10SessionFilter(self): 
    170171        load_tut_module("tut10_sessionfilter") 
     172        cpg.config.update({"/": {"sessionFilter.on": True}}) 
    171173         
    172174        helper.request('/') 
  • trunk/cherrypy/tutorial/tut08_sessions.py

    r267 r300  
    2929 
    3030cpg.root = HitCounter() 
    31  
     31cpg.config.update({'/': {'sessionFilter.on': True}}) 
    3232 
    3333if __name__ == '__main__': 
  • trunk/cherrypy/tutorial/tut10_sessionfilter.conf

    r298 r300  
    44server.environment = "production" 
    55 
     6sessionFilter.on=True 
    67# by default we get 
    7 # sessionFilter.on=True 
    88# sessionFilter.new='sessionMap' 
    99# sessionMap.storageType='ram' 

Hosted by WebFaction

Log in as guest/cpguest to create tickets