Http_referrer shows facebook but i was not on facebook

This is the strangest thing. I have a very simple CF code that looks at cgi.HTTP_REFERER. Simply, he looks at the referrer. This link has been clicked from outside our main website domain, it displays something. Otherwise, nothing happens. So, if someone clicks on a link from FB, and she goes to our website, she displays something. If someone clicked a link from our homepage on our website, it does nothing.

There is a special link that when you click on our homepage, "something" happens. I wrote all the variables, and http_referrer shows https://m.facebook.com . I was not on Facebook when I clicked the link. I was not on a mobile phone. When I clicked the link, I was on the main page of my site.

Now, here is the only thing I can imagine:

  • We have comments on this page on facebook.
  • This URL has been added to Facebook.

But we are talking about all our stories on Facebook, and they all have comments on the FB, so I think that if the FB saves this information, I will have this problem on all pages.

Does anyone know why this is happening?

+6
source share
1 answer

As in other cases, my user_agent, remote_addr and referencing are incorrect. I also see different remote_addr values, depending on which browser I use. So, whatever you choose, this is not the CGI area for my request.

I suspect you have a function that handles the reset of the CGI area, is it in CFC, which is in constant scope, and you have an unVARed variable somewhere there? Or your page caching (perhaps on the proxy server on the side?) Based on the browser and dump in the cache?

NB: in Opera and Safari I do not get Facebook as a referent.

+1
source

All Articles