Discussion of testing theory and practice, including methodologies (such as TDD, BDD, DDD, Agile, XP) and software - anything to do with testing goes here. (Formerly "The Testing Side of Development")
Moderator: General Moderators
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
- Forum Newbie
- Posts: 1
- Joined: Mon Oct 25, 2010 11:30 pm
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.
- DevNet Master
- Posts: 2765
- Joined: Thu Mar 15, 2007 6:28 pm
- Location: Redding, California
Return to Testing
Who is online
Users browsing this forum: No registered users and 1 guest