Possible Duplicate:
Javascript cookie delete
Please let me know how to delete specific cookie (I have the name of the cookie its enough..).
I really dont have an idea (I dont know JS well…) and when I searched in Google I didn’t find a good solution.
Thank you.
EDIT:
If I can’t delete the cookie – let me know how to change the value to “” (empty..), its ok too.
Stolen from here:
This sets the cookie value to nothing (
name + '=;) and sets the expiration time to the past (expiring it immediately).