refering header problems

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • KoRnDragon

    #1

    refering header problems

    A script me and my friend wrote is havnt trouble grabbing the referrer
    header for two sites that direct to mine with a "meta http-equiv"

    Both sites swear they aren't blocking headers in their scripts but the
    two are similar in that those are the only two sites not properly
    sending my script it's referrer header and they both use a meta refresh
    to link to sites.

    Any ideas?

  • Oli Filth

    #2
    Re: refering header problems

    KoRnDragon said the following on 24/03/2006 17:27:[color=blue]
    > A script me and my friend wrote is havnt trouble grabbing the referrer
    > header for two sites that direct to mine with a "meta http-equiv"
    >
    > Both sites swear they aren't blocking headers in their scripts but the
    > two are similar in that those are the only two sites not properly
    > sending my script it's referrer header and they both use a meta refresh
    > to link to sites.
    >[/color]

    The referrer header isn't sent by the other site, it's sent by the browser.



    --
    Oli

    Comment

    • KoRnDragon

      #3
      Re: refering header problems

      Great, but that doesn't answer my question.

      Comment

      • Karl Groves

        #4
        Re: refering header problems

        "KoRnDragon " <korndragon@gma il.com> wrote in news:1143223175 .889792.247250
        @i39g2000cwa.go oglegroups.com:
        [color=blue]
        > Great, but that doesn't answer my question.[/color]

        Well, it kinda does.
        Oli's comment was "The referrer header isn't sent by the other site, it's
        sent by the browser."

        In other words, the problem you describe could be caused by the browser not
        passing that header.


        --
        Karl Groves



        Accessibility Discussion List: http://smallerurl.com/?id=6p764du

        Comment

        • KoRnDragon

          #5
          Re: refering header problems

          This isn't just a problem for me though, any user that clicks a link
          from these two sites that lead to mine, it never gets caught by my
          script. So if it is a browser problem it's not just me.

          Comment

          • Jerry Stuckle

            #6
            Re: refering header problems

            KoRnDragon wrote:[color=blue]
            > This isn't just a problem for me though, any user that clicks a link
            > from these two sites that lead to mine, it never gets caught by my
            > script. So if it is a browser problem it's not just me.
            >[/color]

            HTTP_REFERER is never reliable. It may work fine - but depending on the
            browser, firewall, proxies and a lot of other things, you may or may not get a
            referrer. And even if you do, you can't be sure it's correct.

            I'd suggest you look for a different way of identifying the origin - like
            perhaps an affiliate id sent as a GET parameter.

            --
            =============== ===
            Remove the "x" from my email address
            Jerry Stuckle
            JDS Computer Training Corp.
            jstucklex@attgl obal.net
            =============== ===

            Comment

            Working...