How do I view cookies in Internet Explorer 11 usin

2019-01-16 08:20发布

I'm looking for how to view the cookies set using developer tools in IE11. I see an option in network profiling to view cookies being sent back and forth, but this is not really the same thing. It is cumbersome to use since it's per request. Surely there must be a way to view all cookies like you can in IE10.

8条回答
Lonely孤独者°
2楼-- · 2019-01-16 09:15

Sorry to break the news to ya, but there is no way to do this in IE11. I have been troubling with this for some time, but I finally had to see it as a lost course, and just navigate to the files manually.

But where are the files? That depends on a lot of things, I have found them these places on different machines:

In the the Internet Explorer cache.

This can be done via "run" (Windows+r) and then typing in shell:cache or by navigating to it through the internet options in IE11 (AskLeo has a fine guide to this, I'm not affiliated in any way).

  • Click on the gear icon, then Internet options.
  • In the General tab, underneath “Browsing history”, click on Settings.
  • In the resulting “Website Data” dialog, click on View files.
  • This will open the folder we’re interested in: your Internet Explorer cache.

Make a search for "cookie" to see the cookies only

In the Cookies folder

The path for cookies can be found here via regedit:

HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders\Cookies

Common path (in 7 & 8)

%APPDATA%\Microsoft\Windows\Cookies

%APPDATA%\Microsoft\Windows\Cookies\Low

Common path (Win 10)

shell:cookies

shell:cookies\low

%userprofile%\AppData\Local\Microsoft\Windows\INetCookies

%userprofile%\AppData\Local\Microsoft\Windows\INetCookies\Low

查看更多
趁早两清
3楼-- · 2019-01-16 09:26

Not a direct answer as previous answers already cover the topic well, but this may be somewhat relevant for some people.

In case you're in a situation where you want to know why IE doesn't save the cookie as expected (or more likely you will probably be trying to find out why IE doesn't transmit some cookie you care about) you could do your use case and then open up File -> View privacy report window. That's one way to tell if the cookie is being blocked.

So for example in network tab (like other answers suggest) you would see that cookies is being transmitted to the browser, but then on subsequent calls to the resource you don't see cookie sent from browser to the server. One reason why this happens if because of the privacy policies and you would able to see that through this View privacy report window.

google "cookie P3P Compact Policy" to see what the resolution is for that

查看更多
登录 后发表回答