开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜