[Zope] Cookies

Tony McDonald tony.mcdonald@ncl.ac.uk
Thu, 25 May 2000 15:51:43 +0100


At 10:28 am -0400 25/5/00, Mabe, Brad wrote:
>I am trying to create a cookie based on the value returned from a sql
>method.  The following code fails with an invalid syntax error.
>
><dtml-in SQL_get_cntry>
>   <dtml-call "RESPONSE.setCookie('country_cookie', <dtml-var cntry_cd>)">
><dtml-in>
>

<dtml-call "RESPONSE.setCookie('country_cookie', cntry_cd)">

should work
hth
tone
------
Dr Tony McDonald,  FMCC, Networked Learning Environments Project 
http://nle.ncl.ac.uk/
The Medical School, Newcastle University Tel: +44 191 222 5888
Fingerprint: 3450 876D FA41 B926 D3DD  F8C3 F2D0 C3B9 8B38 18A2