There was an interesting article on the Ajaxian just yesterday that
might be relevant:
http://ajaxian.com/archives/cor-blimey-cross-domain-ajax-is-really-here
(referencing
http://www.nczonline.net/blog/2010/05/25/cross-domain-ajax-with-cross-origin-resource-sharing/).
You'd probably have to roll your own support for this, though, because
as far as I'm aware, MooTools doesn't come with support out of the box.
Unfortunately, though, it looks like it doesn't work in IE versions
below 8, so that could be an issue; Firefox 3.5, Safari 4, and Chrome
all apparently work without problems, though.
The other option, of course, is to look into a server-side proxy, but
that's certainly not ideal.
- Barry van Oudtshoorn
www.barryvan.com.au
On 27/05/10 07:42, TimeImp wrote:
Hi everyone,
I am having an issue with cross-domain ajax requests. I have read
into the issues and security details around this policy and completely
understand why this would not work over the internets.
My question is can this work on a local intranet? Eg, our intranet
server [for arguments sake] is 10.0.0.70, but the page needs to load a
remote php file (as this server is HTML only and I cannot change
this.) from the IP 10.0.0.75 to get the status of IT Support's
availability. The PHP file simply returns a number and nothing else
(no formatting, no JSON).
I have messed around with Request.JSONP but have been unsuccessful
thus for. Any help would be most appreciated.
Regards,
James
--
Not sent from my Apple ?Phone.