Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

access data across domain - problem

Status
Not open for further replies.

nuVBer

Programmer
Jul 6, 2001
63
US
I've written a script for our intranet that queries a SQL server database for some data to populate a treeview. However when it runs it prompts the user to verify that if it is ok to "access data across domains" when in fact the SQL server it queries is on the same network domain. Anyone know why this would happen? or how to fix it without having each user reset their browser option to allow access across domains?

Thanks
 
the problem is not actually a network domain but what javascript recognises as a url different than the main page.

is not the same domain as
There is no way I know to make this easier for you. But the PHP forum does have some solutions for doing everything on the same server while accessing data from another. Maybe you should consider using PHP. Gary Haran
 
But I am not changing pages.. so the URL doesn't change. I'm just loading some of the data from the dataset into the treeview on the same page.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top