Thursday, 11 April 2013
IE 8 & IE9 CORS Access Denied problem
https://github.com/jaubourg/ajaxHooks/blob/master/src/xdr.js
http://stackoverflow.com/questions/5250256/inconsistent-ajax-xdr-response-from-ie
https://github.com/MoonScript/jQuery-ajaxTransport-XDomainRequest/blob/8754607e5f9ab73ccc37246f0c12fed14f85bd28/jQuery.XDomainRequest.js
setTimeout(function () {
xdr.send( ( s.hasContent && s.data ) || null );
}, 0);
Wednesday, 10 April 2013
Enable CORS in ASP.NET
In Global.asax
protected void Application_BeginRequest(object sender, EventArgs e)
{
Response.AppendHeader("Access-Control-Allow-Origin", "*");
}
http://stackoverflow.com/questions/6516591/how-to-implement-access-control-allow-origin-header-in-asp-net
Subscribe to:
Posts (Atom)