Hi
I want to check if an user tries to login with an userId for
which a session is already existing and show a message.
This can also be applied if two users want to share the same
userId and try to login at the same time.
Whenever a session is being created by the user , I want to
store the userId in the database using the valueBound method in
HttpSessionBindingListener and remove it from the Database when the
session is invalidated using the valueUnbound method. But this will
not work if the user does not explicitly invalidate the session (like
closing the browser).Then the session will remain active until the
session time out has reached. Is there any way to determine an browser
closing action by the user and invalidate the session..
thanks
Uday