in reply to Re: Re: Returning to A Referring Page
in thread Returning to A Referring Page
Some Browsers would ignore the redirection attempt without the correct status. But if you use CGI.pm it will do it for you :-)$jump_to = $ENV{'HTTP_REFERER'} || 'http://www.yourwebpage.com'; print "Status: 302 Moved\n"; # thats the spec print "Location: $jump_to\n\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: Returning to A Referring Page
by Juerd (Abbot) on Jan 20, 2002 at 19:47 UTC |