HTTP Referrer and IE7 and IE8

Posted by cocacola09 on Stack Overflow See other posts from Stack Overflow or by cocacola09
Published on 2010-03-17T07:27:50Z Indexed on 2010/03/17 7:31 UTC
Read the original article Hit count: 709

Filed under:
|
|
|
|

Hi i've tried the following to find the referrer in MSIE / IE7 and IE8 but its returning blank each time;

PHP:

<?
echo $_SERVER['HTTP_REFERER'];
?>

JAVASCRIPT:

document.write('Thanks for visiting from ' + document.referrer);

Does any know what the issue could be I'm referering using document.location from a page on another domain and work fine with all other browsers minus MSIE.

Any help would be great!

© Stack Overflow or respective owner

Related posts about referrer

Related posts about referer