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

Version 1 (modified by anonymous, 13 years ago) (diff)

--

sessionFilter.on = True

This will turn on Cherrypy Sessions

Setting a session

import cherrypy cherrypy.sessionanyvar?

Accessing a session variable

cherrypy.session.get('anyvar', 'default')

For more detailed info  http://www.cherrypy.org/wiki/CherryPySessions