Dhaval Patel
Dhaval Patel

Reputation: 7601

Communication between browser of two application in different domain

I have one silverlight application hosted at www.abc.com

I have one web application hosted at www.xyz.com

I want to call the page of web application on button click of silverlight application and pass some parameters to it now silverlight application will show busy indicator until the transaction of the page of web application doesn't get completed. Now if the user has successfully done the transaction in the page or if he close the page of web application i want some parameters to pass to silverlight application so that it can know to stop the busy indicator and further process. I know there would be something in jquery or ajax which do such communication in cross domain but i am not getting it around.

I would really appreciate if someone could help me out with this.

Upvotes: 1

Views: 584

Answers (2)

andres descalzo
andres descalzo

Reputation: 14967

you can use these alternatives:

YQL for ajax cross domain: example with plugin
Access-Control-Allow-Origin: example 1 example 2 example 3
implementation of jsonp in asp.net mvc: example

Upvotes: 1

DhruvPathak
DhruvPathak

Reputation: 43245

Use JSONP for cross domain ajax communication.

Example using jQuery :

http://api.jquery.com/jQuery.getJSON/

Upvotes: 0

Related Questions