Package cherrypy :: Package tutorial :: Module tut07_sessions
[hide private]
[frames] | no frames]

Module tut07_sessions

source code

Tutorial - Sessions

Storing session data in CherryPy applications is very easy: cherrypy provides a dictionary called "session" that represents the session data for the current user. If you use RAM based sessions, you can store any kind of object into that dictionary; otherwise, you are limited to objects that can be pickled.

Classes [hide private]
  HitCounter
Variables [hide private]
  tutconf = '/build/buildd/cherrypy3-3.2.2/cherrypy/tutorial/tut...
  __package__ = 'cherrypy.tutorial'
Variables Details [hide private]

tutconf

Value:
'/build/buildd/cherrypy3-3.2.2/cherrypy/tutorial/tutorial.conf'