ajax cross-domain requests
- by yoda
Hi,
Since Ajax requests are limited for security reasons, there's not much to it, just follow the rules eh .. but I've crossed with this :
https://developer.mozilla.org/en/Same_origin_policy_for_JavaScript
It's written that you can "bypass" those rules, in case you're working with subdomains of the same domain, with the following javascript line :
document.domain = "company.com";
I haven't tried it yet, since I don't know if this only works (perfectly works) with any other browser, or at least the major ones. Is it possible?
Thanks.