[mod_python] Cookie

Mike Looijmans mike.looijmans at asml.com
Thu Jul 3 07:36:59 EST 2003

>I want to save 2 cookies using mod_python & Cookie modul. Can somebody help
>me, please?

Put your cookies in a SimpleCookie or SmartCookie, and use:

req.headers_out.add('Set-Cookie', cookies.output(header='',

to add them all in one shot.

Mike Looijmans
Private: http://www.milosoftware.com
-- Sorry about the nonsense below --

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