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  

_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to