[Edu-sig] Delete a cookie

Dethe Elza delza@alliances.org
Sat, 22 Sep 2001 10:32:31 -0700


Deleting a cookie is non-intuitive.  You have to set the cookie with an 
expire time of zero.

HTH

--Dethe

Titu Kim wrote:

> Hi all,
>    I am learning python in cgi programming. I want to
> keep the http state of a user to my website in CGI
> script. I decide to use Cookie module to realize it.
> However, i find that i can load, set and change
> cookies, i cannot invalide or delete the same cookie
> that i have created. Thus the cookies are always there
> as long as client does not close the browser. How can
> i delete those cookies? Or is there any other module
> that acchieve the same purpose that i can use? Thanks
> a lot.
> 
> Kim Titu
> 
> __________________________________________________
> Do You Yahoo!?
> Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger. http://im.yahoo.com
> 
> _______________________________________________
> Edu-sig mailing list
> Edu-sig@python.org
> http://mail.python.org/mailman/listinfo/edu-sig
> 
> 
> 



-- 

Dethe Elza (delza@burningtiger.com)
Chief Mad Scientist
Burning Tiger Technologies (http://burningtiger.com)
Living Code Weblog (http://livingcode.ca)