[plt-scheme] Web: How to delete a cookie?
Expire is not part of the RFC. It isn't implement by any of the PLT
libraries. Max-Age is, it is implemented.
Jay
On Thu, Apr 22, 2010 at 7:47 PM, Todd O'Bryan <toddobryan at gmail.com> wrote:
> 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
>>
> _________________________________________________
> For list-related administrative tasks:
> http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>
--
Jay McCarthy <jay at cs.byu.edu>
Assistant Professor / Brigham Young University
http://teammccarthy.org/jay
"The glory of God is Intelligence" - D&C 93