Make a CORS request in IE9 with cookies?

后端 未结 2 589
萌比男神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.

提交回复
热议问题