Link to home
Start Free TrialLog in
Avatar of MJ
MJFlag for United States of America

asked on

No referrer in IE?

I get a referrer in FF but not IE? How can I debug this? I want to pinpoint exactly why I'm not getting a referrer in IE? I tried looking at the headers etc. but I still don't see why I have the issue?

Thanks!
Avatar of Michel Plungjan
Michel Plungjan
Flag of Denmark image

What is the referring page?
Avatar of Opalelement
Opalelement

If a page has a referrer in FF and you refresh it the referrer stays there. You can't just copy that URL and keep the referrer. You must click on a link that takes you to your script in IE just like you did in FF, then you will have a referrer.
Avatar of MJ

ASKER

Hi,
Let me clarify my issue. If I open site A in FF and IE and go to site B in both browsers, I will see site A as a referrer in the FF browser but in IE I will not see a referrer for site B? Referrering domain is www.ea.com
Ensure that you client side setting in internet explorer are not prohibiting the generation of referals
Avatar of MJ

ASKER

My IE is not prohibiting the generation of referrals.
URLs of test pages or a code snippet of page B (the one that shows the referrer) could be helpful.
ASKER CERTIFIED SOLUTION
Avatar of Michel Plungjan
Michel Plungjan
Flag of Denmark image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I can still get a referrer using rel="nofollow" in my own code
How do you check the referrer? It doesn't output it on the page.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Oh, using javascript... I tested with PHP which works successfully.
Just for the record, it seems that it doesn't work in Chrome either.
Avatar of MJ

ASKER

So are you saying in PHP it showed the referrer and in JS it didn't?
Yeah, $_SERVER['REMOTE_ADDR'] works fine
Can you get the referrer from EA.com???


Not with PHP, unles EA is linking to your site or you have access to a page that it does link to. PHP has to be put in the code and run on the server, not in the address bar.
I know

So what are you saying about the referer in PHP?
I am pretty sure you would NOT get the referer on the server from there either
Avatar of MJ

ASKER

I think I found the issue? It has to do with the external-window class in the css and jquery.
Avatar of MJ

ASKER

Thanks!