IE 11 cookies in Developer tools
79,733
Solution 1
There currently is not a dedicated Cookie viewer in the IE11 F12 Developer tools.
There are two possible workarounds:
- Inspecting cookies within the "Detailed view" in the Network tab
- Running 'document.cookie' in the Javascript console
Solution 2
You can use console of IE to edit any value of cookie
Now first hit below commond
document.cookie
It will return you some key values. Now use below command to edit or create new key values
document.cookie="YOURKEY=YOURVALUE"
Hope it will help you :)
Note :- It will works, if the cookie is not marked as HTTPOnly
Author by
Nash
Updated on October 09, 2020Comments
-
Nash over 3 years
Is there an equivalent to Chrome's cookie view in IE 11 ?
Chrome's cookie viewer: Resources->Cookies. Closest IE11 has is this : Network -> Go to url -> click on details - > Cookies.
IE 11 Wiki has this under removed features: "Ability to view all cookies at once via Developer Tools".
-
JamesQMurphy over 9 yearsIf you use the Network tab, remember to enable network capturing first.
-
John Smith about 9 yearsI guess this didn't match with there GUI
-
Muhammad Adeel Zahid about 8 yearsThe
Detailed View
only shows cookies name and its value. no other filed is shown. I am interested in getting cookies expiry date. How can I get this? -
PBMe_HikeIt almost 8 years
Running 'document.cookie'
will not work if the cookie is marked as HTTPOnly -
ambidexterous about 5 yearsDid you want to say "it will work only, if the cookie is NOT marked as HTTPOnly"? HttpOnly flag means cookie isn't accessible from script