permission denied error - Help!!! Assign document.location or window.location to varia
I posted before, need help please ....anyone....
I have a multiple frame document. I am able to push url's using the window.location or the window.location.href methods. What I cant do is if the location I push is outside my domain, when I try to read and assign the location in the frame to a Variable (ie: retrive the current location of the frame) I get a permission denied error. I dont know if this is a tainting issue...help please!! The application is this: I am letting my users use a search engine to located info. I need to read where they navigated to to get the info. So the search engine is in one frame and my other frame needs to read that url and display the current location. It works fine if the user is viewing a page in my own domain, but the permission denied error occurs as soon as the user uses the search engine outside my domain.
I have been killing myself for a week on this one......any help would be greatly appreciated
----------
Alan Izat
elara posted this at 03:05 — 21st August 1999.
They have: 112 posts
Joined: Apr 1999
If I'm not mistaken you can't retrieve the url from pages of other domain, its a security feature of Netscape and IE. You can do this unless you sign your script with a signing tool available from Netscape, and you gotta get a developer certificate...
Regards.
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.