NodeReaper has asked for the wisdom of the Perl Monks concerning the following question:

  • Comment on Missing referer argument during redirection

Replies are listed 'Best First'.
Re: Missing referer argument during redirection
by pileswasp (Monk) on Jul 22, 2003 at 15:11 UTC
    Put it in the query string of the url you are redirecting to:  print "Location: $second_script?referer=$ENV{'SCRIPT_URI'}\n\n";
Re: Missing referer argument during redirection
by waswas-fng (Curate) on Jul 22, 2003 at 15:30 UTC
    as noted yesterday, Your problem is that HTTP_REFERER is empty because of a browser implementation. Some browsers don't send it when they sense a dynamic page some do. Some dont send it at all, some firewalls block it. In short IT IS NOT WHAT YOU ARE LOOKING FOR.

    -Waswas
      Hi.. Sorry for reposting the question. I was not able to find the link yesterday and thought it somehow did not get posted. Thanks !
•Re: Missing referer argument during redirection
by merlyn (Sage) on Jul 22, 2003 at 15:13 UTC

      The other node was never approved, thus it is invisible to some users.