PDA

View Full Version : Deleting a cookie via util.Cookies.clear('cookieName')



Elijah
23 Mar 2010, 12:25 PM
Been trying to figure out what the deal is with using a cookie.

I can create the cookie and set a value.
I can modify the value in the cookie.
I call the util.Cookies.clear('cookieName') which according to the api states it sets its expiration date to something in the past.

So the question is WHY if I call util.Cookies.get('cookieName') is it still showing up?
Is it something I have to sit around and wait for the browser to clean out?
Is it just timestamping the cookie in the past yet its still there until I manually remove it?
How do I clear it out so its no longer available or permanently remove it?