I set the Session ["UserID"] value to the Id of the logged-in user, so I can find out who the user is. But I want to know that all users have entered my page and will show their list.
As a rule, you ask "How to find out who has been active in the last x minutes."
Record your last activity time for each page entry, and then query this list to find out who has been active in the last couple of minutes. You can extend this and write down the last page they visited, find out how many people are online and how many people are on a particular page.
, . lastActivityTime lastVisitedLocation.
, , , , , - , , 't , , 20 ... , , , , , asp.net , , . - , , .
, , , ,
No users on the Internet will just count entries in a table
and since you will have entries for each registered user in the session table, you can also get the names of registered users.