Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I view cookies in Internet Explorer 11 using Developer Tools

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.

like image 405
KingOfHypocrites Avatar asked Nov 12 '13 22:11

KingOfHypocrites


People also ask

How do I view cookies in IE Developer Tools?

1 Open the Internet Explorer 7 browser. 2 Click "Tools" from the Command Bar at the top of the screen and select "Internet Options" from the drop-down menu. 3 Click on the "Settings" icon in the "Browsing History" section of the "General" tab. 4 Click "View Files" to view cookies in Windows Explorer.

Where are cookies stored Internet Explorer 11?

Most of the time IE11 stores cookies in %USERPROFILE%\AppData\Roaming\Microsoft\Windows\Cookies or if you're using IE in protected mode, %USERPROFILE%\AppData\Roaming\Microsoft\Windows\Cookies\Low .


4 Answers

  1. Click on the Network button
  2. Enable capture of network traffic by clicking on the green triangular button in top toolbar
  3. Capture some network traffic by interacting with the page
  4. Click on DETAILS/Cookies
  5. Step through each captured traffic segment; detailed information about cookies will be displayed
like image 61
Pawel Avatar answered Oct 19 '22 12:10

Pawel


How about typing document.cookie into the console? It just shows the values, but it's something.

enter image description here

like image 24
Jacob Wan Avatar answered Oct 19 '22 14:10

Jacob Wan


Update 2018 for Microsoft Edge Developer Tools

The Dev Tools in Edge finally added support for managing and browsing cookies.

Note: Even if you are testing and supporting IE targets, you mine as well do the heavy lifting of your browser compatibility testing by leveraging the new tooling in Edge, and defer checking in IE 11 (etc) for the last leg.

Debugger Panel > Cookies Manager

Debugger Tab

Network Panel > Request Details > Cookies

Network Tab

The benefit, of course, to the debugger tab is you don't have to hunt and peck for individual cookies across multiple different and historical requests.

like image 14
KyleMit Avatar answered Oct 19 '22 14:10

KyleMit


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

like image 10
Squazz Avatar answered Oct 19 '22 13:10

Squazz