Re: Login should not allow users to login if the application is logged in with the same login credentials

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 







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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux