in reply to can't get $ENV{HTTP_REFERER}

It depends on how you opened the window - if you used 'target=_new' then HTTP_REFERER should be OK, but if you used a Javascript 'window.open', then I think the only way is by using 'window.opener.location'. Good luck.
  • Comment on Re: getting referer from a popup window

Replies are listed 'Best First'.
Re: Re: getting referer from a popup window
by perlmania (Initiate) on Mar 24, 2003 at 14:50 UTC
    Thank you for reply... I used javascript but window.opener.location causes error on page
      window.opener.location.href maybe?