[Zope] Another stupid question
Dieter Maurer
dieter at handshake.de
Sun Dec 28 13:17:58 EST 2003
Joe Goldthwaite wrote at 2003-12-27 16:19 -0700:
>Once again, I'm forced to ask a simple question that everyone probably knows
>the answer to but that I can't seem to figure out from any of my multiple
>books or online resources. I need to leave a semi-permanent cookie to store
>my options. I'm doing it from within and External Method. I've tried a
>number of things but nothing seems to work. I'm not sure what the format is
>supposed to be. The Zope Book documents the function like as
>"setCookie(name, value, **kw)" but doesn't tell me anything about what
>"**kw" is.
Look at the cookie specification
"http://home.netscape.com/newsref/std/cookie_spec.html".
It defines the meaningful keyword arguments.
> ...
>But it doesn't work. The cookie is there with the options set correctly but
>my cookie manager says that it expires at the end of the session and after
>the session ends, the cookie goes away. Any ideas on what I'm doing wrong?
Note that the time specified in an "expires" must be in a precisely
specified format and in the GMT time zone.
--
Dieter
More information about the Zope
mailing list