0

Dear team,
"ajax" is not supporting for cross-domain compatibility.I want to implement cross-domain compatibility.Did any one know new technology or technique to implement the cross-domain compatibility.


Thank you,

With Regards,
Prem

5
Contributors
7
Replies
8
Views
6 Years
Discussion Span
Last Post by Airshow
0

You could make your javascript request of a page on your own domain, which then gets the contents of the page you really want.

Edited by twiss: n/a

0

Dear twiss,
I want to send the request to another domain .Using ajax it is not possible .

Thank you,

With Regards,
Prem

0

It isn't possible for the client side javascript to access another domain. <<<<SOLUTION DELETED BY AUTHOR>>>>

However this really doesn't sound like something that I would like to happen to any of my data. Sounds a lot like cross site scripting to me.

0

Speculation seldom helps form a solution. Whilst Javascript cannot directly access another domain, cross domain requests from a client side javascript are a routine event across the internet for API's such as Yahoo Pipes.

Prem2, what exactly are you trying to achieve? or perhaps more to the point is it just naughty or illegal lol

0

Dear Sogo7,
I have totally 5 servers. I want to access another server files like i want to post the data from one server to another server and get the information.

Thank you,

With Regards,
Prem

0

Provided all five servers (or is that websites?) are yours then reading files is a trivial matter as is POSTing data from one to another using a basic HTML form or a cURL script that runs on the sending server.

The only benefit of using AJAX is that the page does not need to refresh as part of the process.

0

JSONP

JSONP is supported by jQuery.

Neither you nor your users should have security concerns if all servers involved are members of a "mutually trusted group".

Airshow

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.