devanand76
12-26-2008, 12:27 PM
Hi,
Let me first give a bit background before putting the problem.
I am using IIS 5.1, ASP.NET 2.0. C#, javascript, prototype. As per the requirement I have to develop cross domain communication.
What I am trying to do is from one domain I need to pass some info to another domain. For Ex. I open up google.com and I open a child window through "window.open" javascript function which open another site, say yahoo.com. Now when I search something (say "abc") in google.com I need to pass that info/event to the child window (here it is yahoo.com) programmatically.
I found 2 options so far.
a) refresh the client page with the querystring ie., www.yahoo.com?request=abc (not accepted solution to our clients).
b) pass data in url as hash (#), but the drawback in this method is I have to poll the URL in a loop which is also not accepted by our clients.
Is there any other option or anything that we can use to do cross domain communication. I have access to both domains and can make any changes to client or server.
I searched across the forum and was not able to find something related to this. Thanks a lot in Advance for the help. I am really stuck over here.
Thanks.
Let me first give a bit background before putting the problem.
I am using IIS 5.1, ASP.NET 2.0. C#, javascript, prototype. As per the requirement I have to develop cross domain communication.
What I am trying to do is from one domain I need to pass some info to another domain. For Ex. I open up google.com and I open a child window through "window.open" javascript function which open another site, say yahoo.com. Now when I search something (say "abc") in google.com I need to pass that info/event to the child window (here it is yahoo.com) programmatically.
I found 2 options so far.
a) refresh the client page with the querystring ie., www.yahoo.com?request=abc (not accepted solution to our clients).
b) pass data in url as hash (#), but the drawback in this method is I have to poll the URL in a loop which is also not accepted by our clients.
Is there any other option or anything that we can use to do cross domain communication. I have access to both domains and can make any changes to client or server.
I searched across the forum and was not able to find something related to this. Thanks a lot in Advance for the help. I am really stuck over here.
Thanks.