[Zope] cookies

Chris Withers chrisw@nipltd.com
Tue, 16 May 2000 17:57:20 +0100


Oleg Broytmann wrote:
>    It is implemented and called automagically :) You do not need to call it
> - just test if the name exist: <dtml-if myCookie>...

If you want to make sure you're getting the cookie:
<dtml-if "REQUEST.cookies.has_key('myCookie')">

and access via:

<dtml-var "REQUEST.cookies.['myCookie']">

untested, but should work unless I've been stupid ;-)

cheers,

Chris