简体   繁体   English

如何在ASP.NET中显示活动的在线用户的统计信息

[英]how to show statistics of active online users in ASP.NET

Hello friends i am trying to show status of online users and the pages each user is now watching i have created a table in database which contains information for users that are logged on and save the current status,but i don't think it is an elegant method for saving users session i also want to save user's information that aren't logged in (Guests users)via IP Address. 您好朋友,我正在尝试显示在线用户的状态以及每个用户现在正在查看的页面,我已经在数据库中创建了一个表,其中包含有关已登录用户并保存当前状态的信息,但我认为这不是一个一种用于保存用户会话的优雅方法,我也想保存未通过IP地址登录(来宾用户)的用户信息。 The page which shows user information is a private page that only site administrator can look at it. 显示用户信息的页面是一个私有页面,只有站点管理员才能查看它。

Are there any SQL SERVER feature or C# namespaces?

What am i suppose to do with this?

In order to count active user you can check this Online active users counter in ASP.NET 为了计算活动用户,您可以在ASP.NET中检查此“ 在线活动用户”计数器

In order to count active users on SQL SERVER check this SQL active user count 为了计数SQL SERVER上的活动用户,请检查此SQL活动用户数

and for SQL SERVER user statistics check this Reports –User Statistics 对于SQL SERVER用户统计信息,请检查此报告–用户统计信息

and in point of saving visited pages of a user it depends on the number of users that daily visit your website and the art of your design. 而要保存用户的访问页面,则取决于每天访问您网站的用户数量和设计的艺术风格。 using database could be a good method but i don't think there is a general method to achieve sort of things 使用数据库可能是一个很好的方法,但是我不认为有一种通用的方法可以实现某种目的

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM