[mod_python] Cookie

Mike Looijmans mike.looijmans at asml.com
Thu Jul 3 07:42:58 EST 2003

>Using the standard lib Cookie module is a bit ugly with mod_python because
>Cookie was designed with CGI in mind, which is why the next release of
>mod_python will have its own Cookie module.

Something like:


so that Request has a 'cookie' object by default, which parses the 'cookie'
headers at the first call to Request.cookie. When setting it, it outputs the
cookie to the headers.

It would be a requirement to use the same interface as Cookie does, since that
allows CGI and mod_python code to share that part.

-- My message ends here --

The information contained in this communication and any attachments is confidential and may be privileged, and is for the sole use of the intended recipient(s). Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please notify the sender immediately by replying to this message and destroy all copies of this message and any attachments. ASML is neither liable for the proper and complete transmission of the information contained in this communication, nor for any delay in its receipt.

More information about the Mod_python mailing list