except refere ...

Discussion in 'PHP' started by mehdiali, May 8, 2008.

  1. #1
    Hi everyone
    i'm ceating a webbot to submit a form automatically.
    but after login it recognize that i jump from login page
    and insted of .../member.php goes to localhost/member.php.
    i modified referer and check it with firefox liveHttp(it works probably)
    and cookies too
    but couldn't solve the problem.
    i want to know except referer how can recognize the base page(you come
    from it).
    thank you in advance
     
    mehdiali, May 8, 2008 IP
  2. TeraTask

    TeraTask Peon

    Messages:
    37
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Referrer can be disabled by anyone. The only way I can think of would be to generate a code on the login page and then pass that code (through URL variables) to the member.php page and then expire the code so that they can't just bypass in the future. Whatever your purpose is, however, you probably should evaluate whether that is the proper method for a successful site.

    Good luck.
     
    TeraTask, May 9, 2008 IP