Use a "DB session handler" or save a time() on the user table every refresh, when loggin verify this "time()". Zechim -----Mensagem original----- De: Balasubramanyam A [mailto:knowledge.wealth@xxxxxxxxx] Enviada em: quinta-feira, 27 de agosto de 2009 08:24 Para: php-general@xxxxxxxxxxxxx Assunto: Login should not allow users to login if the application is logged in with the same login credentials 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