Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do you view session cookies in Internet Explorer?

I am able to see session cookies in Firefox 3.6 by going to

Tools->Options->Privacy->Remove Individual Cookies

How do I see those same session cookies in IE (6/7/8)?

Tools->Internet Options->Browsing history Settings->View files

only contains persistent cookies

Also how do I access them programmatically? In Firefox I use the nsICookieManager interface to read the session cookies, does IE contain an equivalent interface?

like image 582
treaint Avatar asked May 18 '11 22:05

treaint


1 Answers

Cookies set with the HTTPOnly attribute will not be visible to Javascript (e.g. via the document.cookie accessor). In IE8, 9, and 10, hit F12 to open the Developer Tools. Click Cache > View Cookie Information to see persistent and session cookies that apply to the current domain.

This feature is not present in the IE11 version of the tools, which would mean that your choices are 1> Watch outbound Cookie headers in Fiddler or on the Network tab, or 2> Write a plugin that calls the InternetGetCookieEx API with the appropriate flag to include HTTPOnly cookies.

like image 110
EricLaw Avatar answered Nov 15 '22 18:11

EricLaw