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:

  1. Inspecting cookies within the "Detailed view" in the Network tab
  2. 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"

enter image description here

Hope it will help you :)

Note :- It will works, if the cookie is not marked as HTTPOnly

Share:
79,733
Nash
Author by

Nash

Updated on October 09, 2020

Comments

  • Nash
    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
    JamesQMurphy over 9 years
    If you use the Network tab, remember to enable network capturing first.
  • John Smith
    John Smith about 9 years
    I guess this didn't match with there GUI
  • Muhammad Adeel Zahid
    Muhammad Adeel Zahid about 8 years
    The 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
    PBMe_HikeIt almost 8 years
    Running 'document.cookie' will not work if the cookie is marked as HTTPOnly
  • ambidexterous
    ambidexterous about 5 years
    Did 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