I've found that just

<dtml-if cookie_name>

...

</dtml-if>

is sufficient.  The cookies end up in the namespace.

At 01:04 PM 7/12/2000 +1000, Terry Kerr wrote:
>maybe the cookie name doesn't exist.
>
>try <dtml-if "REQUEST.cookies.has_key('cookie_name')">
>
>Rob Pratt wrote:
>
> > Hello.
> >
> > Here's what I'm trying to do:
> >
> > <dtml-if "REQUEST.cookies['cookie_name']">
> >
> > ... do something using data from the cookie ...
> >
> > </dtml-if>


_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to