Freigeben über


IE8 Beta 2 and XDomainRequest (XDR)

If anyone else is struggling trying to get XDR working on IE8 Beta 2 (as I have been) note that the server no longer has to respond with the header:

XDomainRequestAllowed: 1

but instead should add the following header:

Access-Control-Allow-Origin: *

You can do this in ASP.NET with the following line of code:

 context.Response.AppendHeader("Access-Control-Allow-Origin", "*" );

More details on the IE blog here.

Technorati Tags: ie8,xdr,xdomainrequest

Comments