Link to home
Start Free TrialLog in
Avatar of etay
etay

asked on

navigating sub frames across different domains

Help needed.
I have to IIS server with differnet domains.
Some web pages from one domain holds in a frame or iframe some of the web pages placed on the second domain.
Since IE browser has a security probelm with that i cannot access the web pages of one domain from the web pages of the second domain.
How can configure both IIS servers or one of them to allow access to another domain.
(changing the user browser security is not possible)
Avatar of hamidovt
hamidovt

As far as I know it should work without any problem.
I have such a situation and it works without any special configuration...
I have IE with default settings and IIS was installed with default settings as well.
Avatar of etay

ASKER

Sorry what i really ment was:
access data sources across domains
Do you mean ODBC data sources  to Access database?

if that is what you mean, you are searching in wrong direction.
domains are not problem. the problem is that ODBC connection to Access does not work if database is on another server. that is stupid, but it works only if database is located locally.

the only way around it is to create local database with links(via ODBC) to the tables in database on desired server. This way you will cheat the server, because it will think that database is local.
Avatar of etay

ASKER

no what i mean is calling from JS function to another JS function in a web page in my iframe which is on another domain
that is not possible!!!
as you said yourself, because of the security.

just include same js file(you can do that via http as well)
<script language="Javascript" src="http://sss.ss.s/common.js"></script>
and call the function!
Avatar of etay

ASKER

it doesnt do me any good i need to access the script so across domains so i can access the web page remoptely.
& never say it is not possible , theres always a way.
ASKER CERTIFIED SOLUTION
Avatar of hamidovt
hamidovt

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
If you want to get a hold of the contents from one web page for use in another then you will need to do it by opening up the page in a server side component of some description. (e.g. The Microsoft XMLHTTP component (part of the Microsoft XML library) allows you to get the contents of web pages.) Once you get the contents of the page you will need to parse it in some way to find the data you are looking for...

It may help the 'experts' on here if you give a brief overview of what you're trying to achieve?