deadlock Message Board
[ July Full List | Reply ]

Re: Must Visit From
From Jim on 31 July '99
replying to Re: Must Visit From posted by David Cole

The condition has to be met BEFORE the page is served, therefore it
can't be done with Java/script.

The most obvious method doesn't involve any scripting - simply put
a link to your "private" page on the page you want it linked from,
but don't link it from anywhere else. If the URL isn't known, nobody
is going to guess it... or am I missing something?!

If you're heel bent on using a script, here ya go:



if ($ENV{'HTTP_REFERER'} eq '') {
print "Location:\n\n";
else {
print "Location:\n\n";

Reply to this message

Required Details
Your name:

Optional Details
Home page title:
Home page URL:
(if you'd like to receive
automatic replies by email)

Your Message