[Tutor] problem with cherrypy

Rayon evosweet at hotmail.com
Mon May 24 19:28:30 CEST 2010


I am trying to get  and set some session variables in ram with cherrypy 

 

Here is my code: 

 

import cherrypy

 

 

#cherry.session.get('user')

#cherry.session.get('password')

 

    

def security(f):

    cherry.session.get('user')   

    cherry.session.get('password')

 

 

error message: 

AttributeError: 'module' object has no attribute 'session'

 

Could some one plz help me  

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20100524/6cf3acdd/attachment.html>


More information about the Tutor mailing list