[Zope] Remove Cookies

Garry Steedman gs@styrax.com
Thu, 18 Oct 2001 02:38:46 +0000


David,

http://www.zope.org/Members/michel/ZB/AppendixB.dtml states:

expireCookie(name, **kw)

Cause an HTTP cookie to be removed from the browser

The response will include an HTTP header that will remove the cookie 
corresponding to "name" on the client, if one exists. This is accomplished by 
sending a new cookie with an expiration date that has already passed. Note 
that some clients require a path to be specified - this path must exactly 
match the path given when creating the cookie. The path can be specified as a 
keyword argument.

that about says it all i think...

cheers,

Garry


On 18 Oct 2001, at 0:06, David Kyte wrote:

From:           	"David Kyte" <david.kyte@microamps.com>
To:             	<zope@zope.org>
Subject:        	[Zope] Remove Cookies
Date sent:      	Thu, 18 Oct 2001 00:06:13 +0100

> Hi,
> 
> How does one remove a cookie?
> 
> 
> Thanks
> 
> 
> Dave
> 
> 
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists - 
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )


+-------------------------------------------+
  Garry Steedman      mailto:gs@styrax.com  
  Styrax Associates  http://www.styrax.com/ 

  "The Good Man has no shape."            
+-------------------------------------------+