just wanted to be clear: Are you preventing two or more users to open your web application in the same machine? Or are you preventing a user to open multiple instance of your application regardless of how many machines? romano
I'm not sure about this but I think if you use cookies, if a user already logged but did not logged out and another user logged in the same machine, the previous user's cookies will be overwritten.thus disabling the previous user's session.
Thanks, I think it will work, but I need to prevent users from having open more then one the same application on the same machine. Any ideas how to do that? Thanks
Use session object or u can make it possible by using ur database, becz using cookies is not preferable as it could be diabled. I think database is the right way.