Cross-Site XMLHttpRequest

Tagged: Ajax, JavaScript Date: 18th, March 2008

I’ve just finished writing up some docs on the new Cross-Site XMLHttpRequest feature in Firefox 3. I was a little worried at first, but it definitely appears to be both easy-to-implement and easy-to-use. Specifically, it’s an implementation of the W3C Access Control working draft (which is respected by Firefox’s XMLHttpRequest).

If you’re interested in giving it a try you should fire up your copy of Firefox 3 and get ready to take it for a spin.

In a nutshell, there are two techniques that you can use to achieve your desired cross-site-request result: Specifying a special Access-Control header for your content or including an access-control processing instruction in your XML.

Read original on: http://ejohn.org/blog/cross-site-xmlhttprequest/

One Response to “Cross-Site XMLHttpRequest”

  1. Shawn Adrian:

    Sweet man, I’m going to try this out.

Leave a Reply