On Aug 27, 2009, at 8:01 AM, hack988 hack988 <hack988@xxxxxxxxxxxxx>
wrote:
Use Database Online table for user sessions.
2009/8/27 Balasubramanyam A <knowledge.wealth@xxxxxxxxx>:
Hello,
I've written a simple application, where users need to login to
access the
features of the application. I want to develop login system such
that, if
user is already logged in, the application should not allow the
users to
login with the same login credentials. How do I accomplish this?
Regards,
Balu
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Set a flag in the login table when the user logs in. You will need a
process to unset this when a user logs out or if the session times out
or the user will not be able to log in again.
Bastien
Sent from my iPod
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php