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

Oleg Broytmann Oleg Broytmann <phd@phd.pp.ru>
Sat, 29 Sep 2001 22:28:20 +0400


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.