[mod_python] Cookies

Chris Hagner CHagner at fool.com
Fri Jul 27 07:40:36 EST 2001


Cookie is a module within Python (not mod_python).  Is that what you mean?

http://www.python.org/doc/2.1.1/lib/module-Cookie.html

Chris

-----Original Message-----
From: Bo Lorentsen [mailto:bl at netgroup.dk]
Sent: Friday, July 27, 2001 5:04 AM
To: Chris Hagner
Cc: riesch at nieuw.nl; mod_python at modpython.org
Subject: Re: [mod_python] Cookies


Chris Hagner wrote:

> There's a module called Cookie which provides an Dictionary-like interface
> to access the multiple cookies in a request.  In addition, each cookie
class
> has an output method that returns an HTTP-header-friendly string
> ("Set-Cookie: fig=newton").  The doc strings in Cookie.py give some pretty
> good code examples.

Ups sorry, I have only looked into the manual, maby its time to take a trip
into the mod_python code :-)

/BL



More information about the Mod_python mailing list