Determine referrer website

Discussion in 'ASP .Net' started by Bishop, Jun 25, 2008.

  1. Bishop

    Bishop Guest

    I want to determine referrer website when someone comes to my page. Since
    the link URL has to be static between sites (i.e. I can't use something like
    mysite.com?refid=14 to determine who linked to me) I'm guessing I need to
    read the referrer.

    My only concern is if the link to my site is from another website will I
    always get the referrer or are there browsers that won't give that
    information? I don't need referrer if someone types it in or clicks in an
    email, just if they click a link from another website.

    Any help or suggestions are appreciated.

    Thanks.
    Bishop, Jun 25, 2008
    #1
    1. Advertising

  2. Bishop

    Bishop Guest

    Glad I asked, Thanks!

    "Mark Rae [MVP]" <> wrote in message
    news:...
    > "Bishop" <> wrote in message
    > news:OWgs%...
    >
    >> My only concern is if the link to my site is from another website will I
    >> always get the referrer or are there browsers that won't give that
    >> information?

    >
    > Unfortunately not. More and more ISPs are stripping the HTTP_REFERER
    > name/value pair from the server variables collection when serving pages...
    >
    > Also, these things are laughably simple to spoof:
    > http://www.datatrendsoftware.com/spoof.html
    >
    >
    > --
    > Mark Rae
    > ASP.NET MVP
    > http://www.markrae.net
    Bishop, Jun 25, 2008
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Harley

    Get referrer URL

    Harley, Jul 24, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    1,036
    Harley
    Jul 24, 2003
  2. Harley

    Re: Get referrer URL

    Harley, Jul 26, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    3,305
    Harley
    Jul 26, 2003
  3. Aaron

    html referrer spoofing

    Aaron, Jan 25, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    6,055
    Chris Jackson
    Jan 26, 2004
  4. NWx
    Replies:
    3
    Views:
    23,551
  5. Peña, Botp
    Replies:
    1
    Views:
    234
    Robert Klemme
    Jan 24, 2004
Loading...

Share This Page