> > how do I read and set cookies in TG? I couldn't find any info via
> > Google, the reference, etc.

You can set cookies like this:

 cherrypy.response.simpleCookie['foo'] = bar
 cherrypy.response.simpleCookie['foo']['path'] = '/'

And read them like this:

 foo = cherrypy.request.simpleCookie['foo'].value

Cheers,
Erik

Reply via email to