Access contents of another (unrelated) window
1 posts in topic
Flat View  Flat View

Posted By:   Thomas_Chiang
Posted On:   Wednesday, March 12, 2008 04:18 PM

We are planning to develop an IE-browser-based application (window A) which needs to access data from another window (window B, say first name, last name or employee ID). We have no control over the application on Window B (can't change the source codes) because it was purchased from an outside vendor.

Our question is:

Can an IE-based application (window A, in our case) access data on another IE-based application (window B). Please note that window A and window B are independent from each other (i.e. no parent-child or any relationship at all) .

Thanks a lot.

Re: Access contents of another (unrelated) window

Posted By:   Christopher_Koenigsberg  
Posted On:   Friday, March 14, 2008 09:59 AM

I don't think Javascript in a client page (you did post in the Javascript forum) is allowed to do that (it's called "cross-site scripting", you can look that up, and there's all kinds of security intended to prevent it!).

An application (not just Javascript in a browser) could make an http connection to the URL from window B and read the response, on its own...
About | Sitemap | Contact