[Zope] setting cookies in a python script? (OmniWeb issue)

Marc Dumouchel marc.dumouchel@powersurfr.com
Sat, 29 Sep 2001 12:10:49 -0600


Oleg wrote:

>  Why Python Script? Just set the cookie with explicit path in DTML.

I did try that first, but it didn't work, and I couldn't find 
any reference material on how to do it properly.

What I tried was:

RESPONSE.setCookie('bandwidth', 'high',
domain='su.ualberta.ca', path='/', expires='Wed, 19 Feb 2020 14:28:00
GMT')

Can you tell me what is wrong with that call?

TIA,

marc