How to get a list of online users? I was thinking of something like this:
//If user's credential are valid
{
List loggedUsers = Appplication["LoggedUsers"] as List;
loggedUsers.Add(new User(username,password));
}
And on body unload and session_end i would remove the user from the list.
Is it safe? ...
Go to the complete details ...