[Zope] Simple Persistent Cookie

Luis Cortes news@conquered.org
Sat, 1 Mar 2003 12:38:46 -0700


  this is true, but does anyone have a simple example of usage.  I'm too
used to:

Set-Cookie: NAME=VALUE; expires=DATE; path=PATH; domain=DOMAIN_NAME; secure

Do you just repeatly call:

setCookie with the different values, like:

<dtml-call expr="RESPONSE.setCookie('NAME', v1)">
<dtml-call expr="RESPONSE.setCookie('Expires', v2)">
<dtml-call expr="RESPONSE.setCookie('Domain', v3)">


-----Original Message-----
From: zope-admin@zope.org [mailto:zope-admin@zope.org] On Behalf Of J
Cameron Cooper
Sent: Saturday, March 01, 2003 11:49 AM
To: zope@zope.org
Subject: Re: [Zope] Simple Persistent Cookie

>How do I create one with Zope, easily?
>How do I include the expires, domain, etc?
The RESPONSE object has cookie methods. Check the API section of the 
Zope online help docs.


Zope maillist  -  Zope@zope.org http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-dev )