php-db | 2004071
Date: 07/15/04
- Next message: Pablo M. Rivas: "Re: [PHP-DB] Restrict account access to single user"
- Previous message: Justin Palmer: "RE: [PHP-DB] Re: Hold System"
- Next in thread: Pablo M. Rivas: "Re: [PHP-DB] Restrict account access to single user"
- Reply: Pablo M. Rivas: "Re: [PHP-DB] Restrict account access to single user"
- Reply: Peter Westergaard: "[PHP-DB] Re: Restrict account access to single user"
- Reply: Tim Van Wassenhove: "[PHP-DB] Re: Restrict account access to single user"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
We're creating a password protected mysql database accesible and searchable via a PHP front end.
Because this is a revenue-based site, and users buy a password for access, we're wondering what the best php/mysql mechanism would be to allow only one person to access their account at a time.
In other words, how do we prevent two users from using the same password to access the same account at the same time?
Preferably, the solution should be javascript- and cookie-free.
We've thought about registering the login into the user's mysql account record, but how to reset the "logged in" field to show the user as logged out if their machine crashes, or if they forget to log out?
Any pointers to relevant web sites appreciated.
Thanks.
-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
- Next message: Pablo M. Rivas: "Re: [PHP-DB] Restrict account access to single user"
- Previous message: Justin Palmer: "RE: [PHP-DB] Re: Hold System"
- Next in thread: Pablo M. Rivas: "Re: [PHP-DB] Restrict account access to single user"
- Reply: Pablo M. Rivas: "Re: [PHP-DB] Restrict account access to single user"
- Reply: Peter Westergaard: "[PHP-DB] Re: Restrict account access to single user"
- Reply: Tim Van Wassenhove: "[PHP-DB] Re: Restrict account access to single user"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

