Results 1 to 2 of 2

Thread: http_referer

  1. #1
    Join Date
    Dec 1969

    Default http_referer

    Retrieving a value from Request.ServerVariables("HTTP_REFERER") from my own site works fine. Why is it that this value is null or = "" when the referral comes from another domain like a search engine or something?<BR><BR>Thanks,

  2. #2
    Join Date
    Dec 1969

    Default It is sent by the browser... if it&#039;s a redirect or referral from a search engine, there is no browser there to set it!<BR><BR>Granted, a smarter "engine" could pretend to be the browser and send the info, anyway. It&#039;s not clear to me why the major search engines wouldn&#039;t do this, since it would give them credit for the "hit." But if they don&#039;t, they don&#039;t.<BR><BR>Hope you got the implication of what I just wrote, too: A custom-written web server *could* "spoof" you and give you any referer URL it wanted to! So you shouldn&#039;t treat HTTP_REFERER as 100% secure.<BR><BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts