[plt-scheme] Web: How to delete a cookie?

From: Todd O'Bryan (toddobryan at gmail.com)
Date: Thu Apr 22 21:47:00 EDT 2010

Setting the max-age to zero deletes the cookie when the user exits the
browser, right? I also saw several places that suggested setting the
cookie's expiration date to a date in the past and the browser will
stop sending it immediately. Is there any way to set the expiration
date with make-cookie?

On Thu, Apr 22, 2010 at 2:36 PM, Mario Domenech Goulart
<mario.goulart at gmail.com> wrote:
> Hi Todd
>
> On Thu, 22 Apr 2010 14:22:36 -0400 "Todd O'Bryan" <toddobryan at gmail.com> wrote:
>
>> There are functions to place cookies, functions to extract cookies,
>> but is there a function to delete a cookie on the client?
>
> You should set the cookie max age attribute to zero.
>
> Best wishes.
> Mario
> --
> http://parenteses.org/mario
>


Posted on the users mailing list.