[Tutor] problems with cherrypy sessions

Rayon evosweet at hotmail.com
Mon May 24 20:24:18 CEST 2010


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

    

 

 

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


More information about the Tutor mailing list