Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Best way to block multiple logins/same user ?

843841Dec 5 2003 — edited Dec 6 2003
What is the best way to block/prevent someone from logging in more than once at the same time with the same userID?
I was thinking to post to a database whenever a user logs in/out but then every time a user does this there has to be a database call to see if that user is already logged in. This solution doesn't seem to efficient or maybe it is.?? Anyone with a better solution?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 3 2004
Added on Dec 5 2003
4 comments
188 views