// For Syntax Highlighter
Welcome to MSDN Blogs Sign in | Join | Help

Mike Ormond's Blog

In my world, things would be simpler than this...

News

  • Add to Technorati Favorites

    These postings are provided "AS IS" with no warranties, and confer no rights. The use of any script / code samples is subject to the terms specified here.

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: ,,
Posted: Wednesday, October 08, 2008 9:10 PM by MikeOrmond
Filed under:
New Comments to this post are disabled
Page view tracker