Jump to content
xisto Community
Sign in to follow this  
galexcd

Remote Ajax Wtf?

Recommended Posts

Any reason why Ajax doesn't work remotely? It looks almost as if ajax only works if its getting or sending info from the same server. What gives?could this have anything to do with the possible abuse of brute force scripts? If so, wouldn't this be a limitation in the browser only? Are there any browsers that allow remote Ajax?...or am I doing something wrong?(I left that question at the end for a reason... I am sure that my script is flawless seeing as it works perfectly if i try to access something locally, but the second I try something remote, no info is loaded)

Share this post


Link to post
Share on other sites

This should answer your question...I think...

Remember that for security reasons (that is preventing cross-site scripting attacks) Ajax requests can only be made to URLs of the same protocol, host and port of the page containing the Ajax request. Some browsers might allow arbitrary URLs, but you shouldn't rely on support for this.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.