Re: [Zope] setting cookies in a python script? (OmniWeb issue)
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
On Sat, Sep 29, 2001 at 12:10:49PM -0600, Marc Dumouchel 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.
RESPONSE.setCookie('bandwidth', 'high', domain='su.ualberta.ca', path='/', expires='Wed, 19 Feb 2020 14:28:00 GMT')
Looks good for me. In what way it is not working? Oleg. ---- Oleg Broytmann http://www.zope.org/Members/phd/ phd@phd.pp.ru Programmers don't die, they just GOSUB without RETURN.
participants (2)
-
Marc Dumouchel -
Oleg Broytmann