Changes

Jump to: navigation, search

Understanding JavaScript Cookies

13 bytes added, 15:30, 18 May 2007
Removing a Cookie
== Removing a Cookie ==
The onlyt only way to remove a cookie from a client system is to set the expiration date of the cookie to a date that has already passed. to To do this simply use the JavaScript Date Object to get today's date, set that Date back a month or so and then re-write the cookie using that revised date:
<pre>

Navigation menu