Create a page and when its visited, its blocked or deleted? So the visitor can continue read but if refreshing, go back or give url to someone, its not working anymore? Any solution? Thanks
1 visit page MAX
Moderator: General Moderators
1 visit page MAX
Hello! I am new to php and need to know if its possible to do a 1 visit only page?
Create a page and when its visited, its blocked or deleted? So the visitor can continue read but if refreshing, go back or give url to someone, its not working anymore? Any solution? Thanks
Create a page and when its visited, its blocked or deleted? So the visitor can continue read but if refreshing, go back or give url to someone, its not working anymore? Any solution? Thanks
- Jonah Bron
- DevNet Master
- Posts: 2764
- Joined: Thu Mar 15, 2007 6:28 pm
- Location: Redding, California
Re: 1 visit page MAX
There's no 100% sure way to do that without requiring some sort of voluntary identification. You can set a cookie, but they can delete it. You can add their IP address to a database, but IP addresses are shared a lot of the time by people on an ISP, and people's IP address changes, or they could use Tor. The measures you take really depend on how important it is. The surest way is to require them to present and confirm an email address.