I want to prevent a same username to be logged, more than once at any time. (i.e) A same loginname should not be used by two different persons to login at same time
So i used SessionBinding listener, to track all users who logged in.When a person logged in ,session will get created,When a person logged out session will get invalidated
scenario :when a person's by name XXX who is logged in and browsing the site,At that time internet connection is gone and immediately reconnects,this time i cannot track the user XXX who lost the connection and cannot invalidated the session,
At this time, When XXX try to login, it gets the message "Already logged in",XXX will allowed to login only previous session gets timeouts.
so when the connection is lost and same user is logged in , i want to allow him to login.