[Zope] Cookie Question

Rob Pratt rpratt@wordandsound.com
Tue, 11 Jul 2000 19:42:07 -0700


Hello.

Here's what I'm trying to do:

<dtml-if "REQUEST.cookies['cookie_name']">

... do something using data from the cookie ...

</dtml-if>

This syntax, though, continually throws errors--a key error on 
'cookie_name'. I've tried nesting the dtml-if statements within <dtml-with 
REQUEST></dtml-with> statements.

What am I doing wrong? What concept am I missing?


Rob Pratt
rpratt@wordandsound.com