Thread: Referrer script

    #1
  1. No Profile Picture
    Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Mar 2008
    Posts
    670
    Rep Power
    38

    Referrer script


    Hi, I usually work ion PHP, but I have a client with an ASP server. I'm doing simple things with the ASP code.

    I need a referrer script written in ASP.

    Can anyone post this snippet of code for me?

    thanks
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2012
    Location
    London
    Posts
    40
    Rep Power
    15
    Classic ASP is not my domain, however I think it may be something like the following:


    Code:
    referer = Request.ServerVariables ("HTTP_REFERER")
    I hope that helps.
    "Learn, Teach, Grow"

    The IT Ninja
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Mar 2008
    Posts
    670
    Rep Power
    38

    thanks Darknite


    I actually a redirect script, but thanks. I did it in plain old HTML and it works fine. So, I guess I don't need this anymore
  6. #4
  7. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2012
    Posts
    6
    Rep Power
    0
    <%
    Response.Redirect("url_of_site")
    %>

IMN logo majestic logo threadwatch logo seochat tools logo