Steve Drees wrote:
> > What can I do to this code works?
> Can you cut and paste the offending code?

Exactly the same of the message of Thomas:

<dtml-if expr="RESPONSE.setCookie('name', 'value', path='/',
expires=(ZopeTime() + (1.0/102.0))">
         "You have cookies enabled"
  "Your browser does not support cookies"

If I get rid of the 'expires' parameter, I receive allways the same
"Your browser does not support cookies". Even when the cookies suport is
enabled... The code changed looks like:


<dtml-call "RESPONSE.setCookie('name', 'value', path='/')">

<dtml-if "RESPONSE.cookies['name']=='value'">


<dtml-call "RESPONSE.expireCookie('name')">


(spaces/blank lines added to make it more readable).

CÚsar A. K. Grossmann [EMAIL PROTECTED]

Zope maillist  -  [EMAIL PROTECTED]
**   No cross posts or HTML encoding!  **
(Related lists - )

Reply via email to