A request's Origins

2001-11-21 Thread Rasoul Hajikhani
Hello folks, I am trying to find out where (which machine) a request has come from. We have several web servers running on different machines serving different documents, so it is possible to jump servers back and forth. This means that I would have to know what prev-uri was/is and what r-uri

RE: A request's Origins

2001-11-21 Thread Andy Sharp
If you're simply looking for which link they clicked on to bring them to this particular page/screen; it should be stored in $ENV{HTTP_REFERER} Also: my $prev_page = $r-header_in(Referer); # http://www.someplace.com/withalinktohere.html --A Hello folks, I am trying to find out where (which

Re: A request's Origins

2001-11-21 Thread Randal L. Schwartz
Andy == Andy Sharp [EMAIL PROTECTED] writes: Andy If you're simply looking for which link they clicked on to bring them to Andy this particular page/screen; it should be stored in $ENV{HTTP_REFERER} Unless that value is wrong (sometimes), faked (possibly), or stripped (by a security-conscious