Solved

No referrer in IE?

Posted on 2009-07-02
19
1,828 Views
Last Modified: 2013-12-08
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!
0
Comment
Question by:894359
  • 8
  • 5
  • 5
  • +1
19 Comments
 
LVL 75

Expert Comment

by:Michel Plungjan
ID: 24761658
What is the referring page?
0
 
LVL 5

Expert Comment

by:Opalelement
ID: 24765603
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.
0
 

Author Comment

by:894359
ID: 24768764
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
0
Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

 
LVL 2

Expert Comment

by:iarla
ID: 24768912
Ensure that you client side setting in internet explorer are not prohibiting the generation of referals
0
 

Author Comment

by:894359
ID: 24769084
My IE is not prohibiting the generation of referrals.
0
 
LVL 5

Expert Comment

by:Opalelement
ID: 24769351
URLs of test pages or a code snippet of page B (the one that shows the referrer) could be helpful.
0
 
LVL 75

Accepted Solution

by:
Michel Plungjan earned 500 total points
ID: 24770615
I could reproduce this

Clicked on a country in the country select box and FF showed ea.com in document.referrer and IE6/XP showed blank

I did see a rel="nofollow"

I wonder if that has anything to do with it


0
 
LVL 5

Expert Comment

by:Opalelement
ID: 24771660
I can still get a referrer using rel="nofollow" in my own code
0
 
LVL 5

Expert Comment

by:Opalelement
ID: 24771677
How do you check the referrer? It doesn't output it on the page.
0
 
LVL 75

Assisted Solution

by:Michel Plungjan
Michel Plungjan earned 500 total points
ID: 24772178
javascript:alert(document.referrer)

0
 
LVL 5

Expert Comment

by:Opalelement
ID: 24772247
Oh, using javascript... I tested with PHP which works successfully.
0
 
LVL 5

Expert Comment

by:Opalelement
ID: 24772260
Just for the record, it seems that it doesn't work in Chrome either.
0
 

Author Comment

by:894359
ID: 24776255
So are you saying in PHP it showed the referrer and in JS it didn't?
0
 
LVL 5

Expert Comment

by:Opalelement
ID: 24776791
Yeah, $_SERVER['REMOTE_ADDR'] works fine
0
 
LVL 75

Expert Comment

by:Michel Plungjan
ID: 24776814
Can you get the referrer from EA.com???


0
 
LVL 5

Expert Comment

by:Opalelement
ID: 24777056
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.
0
 
LVL 75

Expert Comment

by:Michel Plungjan
ID: 24777113
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
0
 

Author Comment

by:894359
ID: 24947338
I think I found the issue? It has to do with the external-window class in the css and jquery.
0
 

Author Closing Comment

by:894359
ID: 31599091
Thanks!
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I annotated my article on ransomware somewhat extensively, but I keep adding new references and wanted to put a link to the reference library.  Despite all the reference tools I have on hand, it was not easy to find a way to do this easily. I finall…
If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question