How to stop multiple access to same web page

Web programming topics
Post Reply
User avatar
Neo
Site Admin
Site Admin
Posts: 2642
Joined: Wed Jul 15, 2009 2:07 am
Location: Colombo

How to stop multiple access to same web page

Post by Neo » Thu Feb 04, 2010 6:37 pm

There are certain methods to do this.
  1. Create a cookie and then compare it with time()
    Problem: The user can easily delete the cookie and access the page.
  2. Store their IP in a database (IP + time of access) and compare their current IP and time with the database.
    Problem: The user can use proxies though this method should keep an average person away from the page.
    You may think of a more complicated solution that check whether the user is accessing through a proxy, etc...
Post Reply

Return to “Web programming”