Community blog feed

IE8 Beta 2 and XDomainRequest (XDR)

Website
Blog
Mike Ormond
Posted
08 Oct 2008 at 21:10

Summary

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

Post extract

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: ,,

We'd love to hear what you think! Submit ideas or give us feedback