Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IE doesn't actually delete the cookies

Tags:

Pressing Ctrl+Shift+Del brings up the deletion dialog in almost all browsers (I've tested IE, Firefox, and Chrome), where you can delete cookies, form data, passwords, etc.

Firefox, and Chrome are working just fine. However, IE just like always acts differently. It shows the message that everything is deleted, but it actually preserves many things.

To test it, I simply log into a website, so that its authentication cookie is set on my browser. Then I delete all cookies. Then I request a private page of that site (which would be served to logged in users only). Guess what? In Chrome and Firefox I get redirected to login page, but in IE, I'm still logged in.

Any ideas?

like image 566
Saeed Neamati Avatar asked Nov 01 '11 10:11

Saeed Neamati


People also ask

Why cookies are not deleting?

Your cookie is most likely not being deleted because when you set the new value, it has to match the path and domain of the original cookie you're trying to delete. that "something" value needs to line up with whatever the existing cookies have set.

Why do my cookies keep coming back after I delete them?

If bad cookies keep making their way back onto your company computer after a scanner removes them, it is because your Web browsing keeps inviting the cookie back.

How do I delete cookies on IE?

To delete cookies In Internet Explorer, select the Tools button, point to Safety, and then select Delete browsing history. Select the Cookies and website data check box, and then select Delete.

Can you actually clear cookies?

While in your browser, press Ctrl + Shift + Delete simultaneously on the keyboard to open the appropriate window. IMPORTANT: Be sure and close/quit the browser and restart it after clearing the cache and cookies. Click the Tools menu (three dotted lines in the upper-right corner). Select History.


2 Answers

I had the same problem in IE9, where clearing browser cache and cookies would not actually delete the login cookie for my site. I finally resolved it by unchecking the first option in the dialog along with the cookies option (Preserve Favorites website data). (I'd include an image, but I'm new...)

like image 159
Chuck Avatar answered Sep 23 '22 05:09

Chuck


There are two types of cookies: session and persistent. In your case, session cookies should be considered.

In IE 9 when you use Ctrl+Shift+Del option, you delete only persistent cookies.
If you want to delete session one, you must hit F12 to open the Developer Tools, click Cache and Delete session cookie

like image 40
Paweł Adamski Avatar answered Sep 24 '22 05:09

Paweł Adamski