I have a system where I need to see active users, so I created a web page to see the logged in users
In the main ASP.NET application I record the login time when they sign on and logout time when they sign off or the session ends
When the close the browser I need to log them off, (update their logout timestamp)
Hence I need to trap the browser close click , which I do
I have posted previously and found a solution to track the browser click
I need to find a way how to update the database when the user goes to Task Manager and kills the browser session any code sample will be great
Please note my app has a login page, master page and few other aspx pages that use the master page.