本文介绍了在Internet Explorer中查看HttpOnly会话cookie的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 使用Internet选项我可以看到所有持久性cookie,使用开发人员工具,我可以看到所有可访问JS的会话cookie。似乎没有办法查看HTTPOnly会话cookie。Using Internet Options I can see all persistent cookies, and using Developer Tools I can see all JS-accessible session cookies. There does not seem to be a way to view HTTPOnly session cookies.在Firefox中有很多选项,包括内置和Firebug,用于查看cookie,包括能够看到请求/响应标头。在IE8中没有办法看到HTTPOnly会话cookie吗?In Firefox there are many options, both built-in and with Firebug, to view cookies, including being able to see the request/response headers. Is there no way in IE8 to see HTTPOnly session cookies?相关问题(没有HttpOnly的解决方案): IE7 IE8Related questions (no solutions for HttpOnly):IE7 IE8推荐答案检查出来: http://blogs.msdn.com/b/jpsanders/archive/2009/06/04/understanding-the-new-wininet-flag-internet-cookie-httponly.aspx Internet Explorer 8 WinInet.dll引入了几个新的Cookie标记。 INTERNET_COOKIE_HTTPONLY标志允许您读取WinInet代码中的HttpOnly cookie。这个标志是: http://msdn.microsoft.com/en-us/library/aa384714(VS.85).aspx 。和这里的构建工具,并使用这种方式:的 http://www.codeproject.com/Articles/38616/Retrieve-HttpOnly-Session-Cookie-in-WebBrowserand here's a way to build a tool and use this:http://www.codeproject.com/Articles/38616/Retrieve-HttpOnly-Session-Cookie-in-WebBrowser关IE8架子不确定我看到了检索HTTPOnlyCookies的方法,因为开发工具似乎只显示非HTTPOnly cookie。如果要使用工具,请使用Fiddler2并将响应类型设置为HTTPOnly。Off the IE8 shelf not sure I see a way to retrieve HTTPOnlyCookies, since the dev tools seems to show only non HTTPOnly cookies. If you want to use a tool, use Fiddler2 and set response type to HTTPOnly. 这篇关于在Internet Explorer中查看HttpOnly会话cookie的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 09-12 09:59