http://www.perlmonks.org?node_id=326392


in reply to http referer

Make raf.pl look for a form variable ref (or similar), or if that doesn't exist, in HTTP_REFERER. Then in the JS link do this: <A HREF="javascript:window.open('raf.pl?ref=URL',...); void('');">

Replies are listed 'Best First'.
Re: Re: http referer
by Anonymous Monk on Feb 04, 2004 at 03:20 UTC
    I had that idea already, if nothing else works I'll have to be forced to use url_params. The only reason I didn't go with that already is because I was hoping there would be an easier way where I wouldn't have to edit the code for each page. I'd kind of like for the HTTP_REFERER to be passed automatically if possible, but it doesn't look like it will be.

    Thanks for the suggestion.