Last post May 20, 2011 03:48 AM by sirdneo
May 17, 2011 11:04 PM|bammidi|LINK
I have a requirement from client that to show the concurrent users.
They are using one username and password at different instances. As we need to track the concurrent users, I have wriiten in Global.asmx file for Session_start and session_End , But still showing a differentt result.
So, we have choosen database and when the user logins successfully , count is tracked in the database. And when user loguts count is decreased.
But, we are facing a problem like when user closes the browser how can we end the session and decrease the count in the database. And if be abruptly when he closes the browser or if session gets timed out count should be decreased.
May 18, 2011 12:45 AM|Shakti Singh Tanwar|LINK
May 19, 2011 01:20 AM|yejjallasrinivas|LINK
need to show some text in the page that "you are logging out from the system"
and in logout.aspx you write what ever thing you needs like updating the database or removing sessions.
May 20, 2011 03:48 AM|sirdneo|LINK
See this link, it will guide you that how you can logout user on browser close :-