Make a CORS request in IE9 with cookies?

后端 未结 2 603
萌比男神i
萌比男神i 2021-02-13 16:50

In IE9, I am attempting to make a cross origin request with cookies. However, even when I have the Access-Control-Allow-Origin, Access-Control-Allow-Credentials, Access-Control

相关标签:
2条回答
  • 2021-02-13 17:36

    From this page http://blogs.msdn.com/b/ieinternals/archive/2010/05/13/xdomainrequest-restrictions-limitations-and-workarounds.aspx at the bottom you can see Update: Internet Explorer 10 now supports CORS using XMLHTTPRequest. It means CORS is not handled properly in IE9. Sorry. They propose some workarounds with proxy in the same article.

    Browser compatibility matrix is given at http://caniuse.com/cors where by partial support they mean

    Internet Explorer 8 provides support via the XDomainRequest object but doesn't support credentialed requests http://code.google.com/p/sgvizler/wiki/Compatibility.

    0 讨论(0)
  • 2021-02-13 17:40

    From my experience, if both domains are in your control better to use postMessage

    0 讨论(0)
提交回复
热议问题