[Zope] Using Cookie Data

Hannu Krosing hannu@tm.ee
Wed, 24 May 2000 19:34:26 +0300


Jim wrote:
> 
> I have a cookie that contains the value of an psql key as its value.  I
> want to retrieve the value and use it to call the psql query method to
> retrieve the data.  The code that I am currently using is
> 
>  <dtml-in qryGetCustomer(REQUEST.cookies[Company_Name)]>
try quotes:
  <dtml-in "qryGetCustomer(REQUEST.cookies[Company_Name])">
>     The company record has been retrieved for <dtml-var company_name>.<br>
>   </dtml-in>
> 
-----
Hannu