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>