how to know the currently online user in .net
I want to know the currently online users who are using my w开发者_C百科ebsite. I know I can do it by using session variables but it is not working.
When user logs in, write it into the database. If you are using ASP.NET membership provider, that info is already written in the aspnet_Users table. You can then just query the database to check for all the logged in users.
精彩评论