简体   繁体   中英

Internet Explorer 11 is Not Submitting HTTPOnly Cookies

So I'm working with an application that sends back an ID for the browser to use in future XHRs in an httponly cookie.

However, in future requests to the server, this cookie is not being submitted in IE11 on Windows 7. This works in Opera, Chrome, Firefox, and Edge.

这是初始请求和应该设置的cookie。

  • I've made sure that the withCredentials property on the XHR is set to true in accordance with MDN .
  • Tried with Protected Mode both on and off.
  • Lowered security to the lowest settings in Internet Options.
  • Made sure that the server I'm working with does not have an underscore.
  • Made sure CORS is working and it looks like it is

Any help on this would be great! I'm totally stuck.

I found the answer!

Make sure that the Privacy Settings in the Internet Options accepts third party cookies! You can do this by either making sure the Privacy Settings are at a setting lower than medium or manually accepting first- and third-party cookies in the Advanced Settings.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM