Forum Moderators: open
I just can't seem to get to bottom of this!
I'm using Frame Redirect for one of my domains. When I insert this following code into the page:
<script language="JavaScript">
<!--
document.write("<img src=\"http://mypathishere/log.cgi?ref="+top.document.referrer+"\" width=1 height=1 border=0>");
//-->
</script>
<noscript>
<img src="http://mypathishere/log.cgi?ref=noscript" width=1 height=1 border=0>
</noscript>
Then when I access the domain name, on the status bar I get the error stating "Access Denied"! I've tryed all kinds of stuff, and nothing works! So the only way out of this I'm thinking is to ask the domain name people to add that piece of code with the Frameset code? It works fine if I access the page with it's regular URL! It's just messing up on the Domains Frame Redirect!
Does anyone know any other way out of this one?
Any help greatly appreciated!
Thanks.
Sincerely,
Dr. DK
This simply isn't allowed - you can't communicate with a page belonging to "www.joshie67.com" from a page belonging to "www.joshtwist.com" - even if I owned both domains - this leads to an Access Denied error.
(This is an important security feature - I could set up a link to a banking site and have a hidden frameset surrounding their login page, I could then grab visitors username and password using script running in my hidden frame)