[Zope] Cookies - folder specific?

Kevin Dangoor kid@kendermedia.com
Sat, 20 Nov 1999 18:15:23 -0500


RESPONSE.setCookie has a path parameter.

<dtml-call "RESPONSE.setCookie('thecookie', 7, path='/FolderA')">
will probably do what you want.

Kevin

----- Original Message -----
From: Tim Haines <tim_haines@hotmail.com>
To: <zope@zope.org>
Sent: Saturday, November 20, 1999 5:54 PM
Subject: [Zope] Cookies - folder specific?


> /
>      setmycookie
>      showcookie
>      /FolderA
>           setmycookie
>           /FolderB
>               setmycookie
> A question I have is, can I tell my /FolderA/FolderB/setmyCookie to set
the
> cookie in /FolderA.