$r-headers_in-get('Referer') doesn't work with IE

2003-03-04 Thread Scott Alexander
Hi, I using recipe 10.4 from the mod_perl cookbook. in sub logout ($$) { # I'm setting the logout address to be the login page again. My login page # is made up of /bin/$environment_name/ # With Netscape it works fine .. my ($self, $r) = @_; my $uri = $r-headers_in-get('Referer') ;

Re: $r-headers_in-get('Referer') doesn't work with IE

2003-03-04 Thread Geoffrey Young
But with IE 6.0 the $r-uri and $r-headers_in-get('Referer') is different than for NN. as you're seeing, the Referer header is pretty unreliable due to the different ways browsers implement it. you should probably switch to a different method for this, such as specifying the environment