DJDiaper
08-15-2003, 04:47 AM
I have been trying to use an URL Checker. This means that people who enter a page, other than with a direct link from a certain page, will not be able to enter...
It seems to work for some people, but other can get in. Maybe it is the browser type, or a proxyserver? I don't know. Could anyone tell me what I am doing wrong here?
Or can some of you provide a script that could take care of the entire problem?
Thanx in advance,
DJDiaper
This is the script I use:
<body
onload="if(document.referrer.indexOf('http://www.whatever.com/whatever.html')
== -1) { self.location.replace('http://www.whatever.com/404.html'); }">
It seems to work for some people, but other can get in. Maybe it is the browser type, or a proxyserver? I don't know. Could anyone tell me what I am doing wrong here?
Or can some of you provide a script that could take care of the entire problem?
Thanx in advance,
DJDiaper
This is the script I use:
<body
onload="if(document.referrer.indexOf('http://www.whatever.com/whatever.html')
== -1) { self.location.replace('http://www.whatever.com/404.html'); }">