cherrypy.request.simpleCookie.has_key('name'):
cherrypy.response.simpleCookie['name']['expires']=0

The first time you use cherrypy.request the second cherrypy.response, I
guess
cherrypy.response.simpleCookie['name'] doesn't exist, so maybe you need
to create it first:

cherrypy.response.simpleCookie['name'] = {}
cherrypy.response.simpleCookie['name']['expires']=0


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~----------~----~----~----~------~----~------~--~---

Reply via email to