in reply to Re: Checking Referring Page?
in thread Checking Referring Page?

Apparently my server doesn't do $ENV{HTTP_REFERER}...can't seem to find it in my %ENV test, anyways.

Replies are listed 'Best First'.
Re^3: Checking Referring Page?
by Your Mother (Archbishop) on Dec 07, 2005 at 22:17 UTC

    Don't forget there is no referrer if you're loading a page directly. You have to have clicked through something. Try putting a dummy link to stay in your CGI and see.

    use CGI qw(:standard); print header(), start_html(); # <-- update to run/test w/o changes print a({-href=>url(1)}, "self-check: ", referer() || 'no referrer');