SV: [Zope] The persistent variable

Geir Bækholt lists at elvix.com
Fri Sep 5 21:02:54 EDT 2003


On  Fri, 5 Sep 2003 16:28:37 +0200 GMT 
B Kjeldstad asked the Zope mailinglist about the following:

> I tried both solutions, but I got the same problem now too. The cookie
> lasted only for the first page I visited. I cheked this out by including
> <dtml-var REQUEST> on my pages.
> The cookie is gone..

> So maybe it is the browser that's having fun with me?

Does the cookie return when you re-visit the first page?
perhaps you're actually only bitten by the cookie path?

try (untested):
RESPONSE.setCookie('guest','C',path='/')


--
Geir Bækholt




More information about the Zope mailing list