Currently Logged In Users ?
I have created a small web-application.
It starts with a login screen.
Everybody who log in should see a list of users currently logged in. While logging In I update the LoggedIn flag to True and make it False while logging Out.
But if the user simply closes the browser without clicking Log-Off button then the LoggedIn flag remains True showing him as still Logged in to other users.
How to tackle this problem ?
Can you pls clarify the solution you gave ?
You mentioned something about Forms Auth.
Will that solve my prob ?
even tried the "Application_End" & "Session_End" events.
But what if the user directly closes his browser window.
Actually my requriement is that other users who are currently logged in should have a clear picture of who else are logged in.
Right now what is happening is that if the user simply closes his browser window he shows logged in for others.
Something like an hidden iframe which constantly montiors at regular intervals who all are logged in will also do.
will the Session_End event fire when...
the user simply closes the browser window ?
this is the major problem..
i am already logging him out on click of Log Off button