Ie9 X-frame-options Deny Upload
Solution 1:
I think it may be the opened state,
Use this
if (xhr.readyState == 1 /* OPENED */)
this is opened in server side, server connection opened, refer this
If you have used this class from msdn blog
public class ValuesController : ApiController
if the class is not public then also you might get error.. before CORS..
have you seen the second comment in the Blog...
jQuery.support.cors = true;
you need to changed this to make it explicitly support the not supporting cross domai calls, the next comment says...
that flag tells jQuery to use an alternative object for making cross-domain calls if the browser doesn't natively support it on its XmlHttpRequest implementation. For example, in IE8 that will cause jQuery to switch from XmlHttpRequest to the **XDomainRequest** object (in IE10 they "fixed" it in a way that XmlHttpRequest can be used for all requests). Regardless of the object on the client, the server still needs to "play the game" and return the appropriate headers so that the browser will allow such requests to be made.
Yes the post from Teleric Team Member is logically perfect, but each IE has its own way to deal with events and system, (painfully, this is one of that..BUG) I have not found list of bugs of IE9 yet but have one link that states IE8 bugs just refer if that relates, this is useful as we know what we need to deal with.. :)
Try readyState == 2 if that works fine..
I think there must be some small thing that you must be missing..
refer second article from same author on msdn blog
refer this if that helps quirkmode
I am not regular user of mvc so can't judge this situations other aspects properly..
I am looking for other reasons, will post if find something related..
I hope this will help...
Post a Comment for "Ie9 X-frame-options Deny Upload"