HTTP_REFERER

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

    HTTP_REFERER

    I'm using:

    Request.ServerV ariables("HTTP_ REFERER")

    And apparently this isn't "reliable" anymore? As in, some
    browsers/firewalls don't allow it? A small block of my code is based on
    knowing what page you were previously on, so this would be a problem. Any
    ideas?

    Thanks,
    Jim


  • Andrew Urquhart

    #2
    Re: HTTP_REFERER

    *James* wrote:[color=blue]
    > I'm using:
    >
    > Request.ServerV ariables("HTTP_ REFERER")
    >
    > And apparently this isn't "reliable" anymore? As in, some
    > browsers/firewalls don't allow it? A small block of my code is based on
    > knowing what page you were previously on, so this would be a problem. Any
    > ideas?[/color]

    HTTP_REFERER has never been reliable - it's a strictly optional header!
    You have the option of using: querystring, post data or cookies.
    --
    Andrew Urquhart
    - Contact: http://andrewu.co.uk/contact/

    Comment

    • Bill

      #3
      Re: HTTP_REFERER

      Some firewalls, like Symantec's, allow you to disable HTTP_REFERER. Like
      Andrew said POST data & querystrings are more reliable.


      "James" <cppjames@aol.c om> wrote in message
      news:OrKDblrsEH A.2536@TK2MSFTN GP11.phx.gbl...[color=blue]
      > I'm using:
      >
      > Request.ServerV ariables("HTTP_ REFERER")
      >
      > And apparently this isn't "reliable" anymore? As in, some
      > browsers/firewalls don't allow it? A small block of my code is based on
      > knowing what page you were previously on, so this would be a problem. Any
      > ideas?
      >
      > Thanks,
      > Jim
      >
      >[/color]


      Comment

      Working...