Balasubramanyam A wrote:
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
Just save the credentials, for a valid user, in a session and check to see if a new login submission matches.
Be certain to lowercase everything so as to prevent a simple case change from appearing to be a different user.
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php