By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
426,178 Members | 2,144 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 426,178 IT Pros & Developers. It's quick & easy.

Delete Cookies

P: 76

I have create a cookie as

document.cookie=text1.value+" "+text2.value;

I am able to retrive the cookies... But i am not able to delete the cookies... Plz help me in deleting the cookies....

Thanks in advance...

Apr 13 '07 #1
Share this Question
Share on Google+
2 Replies

Expert Mod 15k+
P: 16,027
Changed thread title.
Apr 13 '07 #2

Expert Mod 15k+
P: 16,027
To delete a cookie, set the expiry date in the past. See link.
Apr 13 '07 #3

Post your reply

Sign in to post your reply or Sign up for a free account.