I was given some code for a web app that needs to remove an existing cookie. The code does "Set-Cookie" and sets an expiration date in the past so the cookie gets removed. This works in all the modern browsers but I can't find my note about the bug in IE where this doesn't work.
Does someone know how to immediately expire an existing cookie in IE? Currently the code does this:
Set-Cookie: stat=12345; expires=01-01-2009; path=/; domain=example. com"
I tried adding the time but and some other things but it still doesn't work.
Does someone know how to immediately expire an existing cookie in IE? Currently the code does this:
Set-Cookie: stat=12345; expires=01-01-2009; path=/; domain=example. com"
I tried adding the time but and some other things but it still doesn't work.
Comment