Skip to Main Content

Java APIs

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!

how to check if the user is online?

843790Oct 19 2007 — edited Nov 6 2007
i have build a mulit client/server application.. but i have a problem that i can�t figure out how to deal with..

when the user login with his username and pass i want to check if he is already is online because i want to build a application that only accept that one user is online on one client..

someone have any idea or tips how i should do?

i have one idea, that i should add one more colum in my database that is boolean that changes so the user only can log in to the system if the "online" boolean is false... what do you guys think about that solution??

but i guess this solution demand that the user log out proper so i can set the boolean to false again..

i hope you guys can help me find a solution
sry for my bad English..
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 4 2007
Added on Oct 19 2007
12 comments
257 views