This week's book giveaway is in the Agile and other Processes forum. We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line! See this thread for details.
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.
Now i want to handle this situvation too.
Waiting for ur solutions and Thanks in advance
Anupam Sinha
Ranch Hand
Joined: Apr 13, 2003
Posts: 1088
posted
0
Maybe cookies may help you. Save some info after authenticating a user in a cookie and you can delete the same at the logout time.
Alec Lee
Ranch Hand
Joined: Jan 28, 2004
Posts: 568
posted
0
Hi Vidya,
So i used SessionBinding listener, to track all users who logged in.