1 Replies - 260 Views - Last Post: 21 January 2012 - 11:41 AM

Topic Sponsor:

#1 TechUpdates  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 5
  • Joined: 10-January 12

Error with blanking a referer and then manipulating it

Posted 21 January 2012 - 05:15 AM

Hi,
I have a model in mind where I get traffic from Site A[source] and the traffic basically flows to Site B. Now while I was checking Site B's logs I found [Site A] being mentioned as the source! Now I don't want that.. I want to blank out the referer. So I created the model such as - Traffic comes from Site A[source] then lands up in Site B.1[here the referals are stripped] from here it goes to Site B[as Direct Traffic].

The code so far that I have implemented in Site B.1 is -
<?php
echo '<meta http-equiv="Refresh" content="0;url=http://www.example.com">'
?>


In this method, I found the referals being successfully eliminated in Firefox and Internet Explorer BUT it failed in Chrome! I didn't test it in Opera or Safari.

So how to go about making it blank?

Is This A Good Question/Topic? 0
  • +

Replies To: Error with blanking a referer and then manipulating it

#2 thrca  Icon User is offline

  • D.I.C Head
  • member icon

Reputation: 28
  • View blog
  • Posts: 65
  • Joined: 21-January 12

Re: Error with blanking a referer and then manipulating it

Posted 21 January 2012 - 11:41 AM

Not sure what the rest of the world thinks on this subject, but IMHO Chrome is working and FF/IE are not. Manipulating the referrer is not supposed to happen.

But, that being said, there is a handful of reasons why someone would want to do this.

Considering that the referrer information is inserted into the http request packet by the browser, the workaround you mentioned for FF and IE is just that, a workaround and relying on it for a feature is not a terribly great idea.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1