Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Changes between Version 1 and Version 2 of cfgSessionFilter


Ignore:
Timestamp:
06/29/07 10:57:39 (12 years ago)
Author:
Chris Arndt
Comment:

migration notice

Legend:

Unmodified
Added
Removed
Modified
  • cfgSessionFilter

    v1 v2  
    1 sessionFilter.on = True 
    2  
    3 This will turn on Cherrypy Sessions 
    4  
    5 Setting a session 
    6  
    7 import cherrypy 
    8 cherrypy.session['anyvar'] 
    9  
    10 Accessing a session variable 
    11  
    12 cherrypy.session.get('anyvar', 'default') 
    13  
    14 For more detailed info 
    15 http://www.cherrypy.org/wiki/CherryPySessions 
     1{{{ 
     2#!rst 
     3.. note:: This page has been migrated to http://docs.turbogears.org/1.0/Sessions. 
     4}}}