Anyone know of a utility for viewing/editing cooki

2019-05-04 00:16发布

问题:

Is there any utility out there that would allow me to easily view/edit/delete cookies in Internet Explorer 8?

In Firefox, I use the Web Developer Toolbar, but I can't find anything that would let me quickly view and delete cookies in IE.

I'm trying to debug a PHP page, and this would come in really handy.

回答1:

CookieSpy deletes cookies for IE as well.



回答2:

I've been trying cookie editors for some time, without a satisfactory result. The most simple solution I found has not been described here, but works like a charm.

Within IE goto the file menu:

  • File>Import and export...

  • Choose Export to file

  • Select the checkbox for Cookies

  • Save the existing cookies to any location as cookie.txt

Now with notepad (or your text editor of choice) you can view, edit or add cookies.

To add a new cookie to IE, modify the cookie.txt file and add the required cookie:

  • File>import and export...
  • Choose import
  • Select cookies
  • Select the file you just edited
  • Done


回答3:

It's not a tool, but I've had (inconsistent, inconvenient) success with editing the actual cookie txt files here on Windows 7 (64 bit):

C:\Users\{username}\AppData\Roaming\Microsoft\Windows\Cookies\Low



回答4:

A quick Google search turned this up: IECookiesView
Seems to work fine with IE8 on W7.



回答5:

I wanted to delete two specific cookies.
In Windows 8.1 Pro (64 bit) with IE 11 I found Cookies in these locations:
(Of course you have to have enabled viewing hidden files and folders)

There is a Shortcut:
C:\Users\%username%\Cookies
but when you click on it the response is "Access is denied"

C:\Users\%username%\AppData\Roaming\Microsoft\Windows\Cookies

C:\Users\%username%\AppData\Local\Microsoft\Windows\INetCookies

C:\Users\%username%\AppData\Local\Microsoft\Windows\INetCookies\Low

C:\Users\%username%\AppData\Local\Microsoft\Windows\INetCache\Low\IE

In File Explorer I did a search of these folders and found the cookies I wanted. I was able to delete the cookies.



回答6:

You can to 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 :)