G
gbattine
Hi guys,
i've a question for you.
I'm developing a jsf application and i've a question about login.
I want securing my applicatio,tha is if a user enters with one username
and password,during its navigation,another user can't enter with same
data.
My first solution has been setting one loggedIn property in my user
table to 1 when user enters application.
If another user try to enter with same data,loggedIn=1 stops it.
When one user logout,loggedIn became=0.
It works fine until user enter and leave out correctly.
How can i do if user close browser without logout?
Can you help me improving my solution or giving me another one?
Thanks very much
i've a question for you.
I'm developing a jsf application and i've a question about login.
I want securing my applicatio,tha is if a user enters with one username
and password,during its navigation,another user can't enter with same
data.
My first solution has been setting one loggedIn property in my user
table to 1 when user enters application.
If another user try to enter with same data,loggedIn=1 stops it.
When one user logout,loggedIn became=0.
It works fine until user enter and leave out correctly.
How can i do if user close browser without logout?
Can you help me improving my solution or giving me another one?
Thanks very much