Highlights
All Snippets
Top 100 Snippets
Librarians
gbCodeLib

By Language
VB6
JavaScript
Perl
HTML
SQL
Java
DOS

GBIC >> Source Code >> JavaScript >> Snippet

Delete cookie


write a cookie by the same name of the one your want to delete ,
with no value and no expiration date

document.cookie = CookieName + ";expires=;"