|
Michael C. Neel
neel at mediapulse.com
Tue Jan 13 12:11:05 EST 2004
Instead of using the table object like a dict, use the add method:
req.headers_out.add('Set-Cookie','name=Cookie1');
req.headers_out.add('Set-Cookie','name=Cookie2');
HTH,
Mike
> -----Original Message-----
> From: Jesse Lawrence [mailto:lawrence_jesse at yahoo.ca]
> Sent: Tuesday, January 13, 2004 12:02 PM
> To: mod_python at modpython.org
> Subject: [mod_python] setting multiple cookies
>
>
> Hello all,
> I scanned the archives a bit for mention of setting
> multiple cookies, but didn't come across anything. I
> noticed that the documentation mentions this in regard
> to the "table" class. Could someone give me some
> advice regarding this? I'm not quite sure how to use
> the table class to accomplish this. Thanks a million
> for any help, and I apologize if this has already been
> covered.
>
> Thanks,
>
> Jesse Lawrence
>
> ______________________________________________________________
> ________
> Post your free ad now! http://personals.yahoo.ca
> _______________________________________________
> Mod_python mailing list
> Mod_python at modpython.org
> http://mailman.modpython.org/mailman/listinfo/mod_python
>
|