Here is the code I am not sure why this is not working I have sessions
turned on. 

 

import cherrypy

 

 

 

@cherrypy.expose   

def security(f):

    cherrypy.session.get('id')

    return f

    

 

 

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

Reply via email to