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]
  __package__ = 'cherrypy.tutorial'