我如何计算当前在我的网站上登录的会话(用户)数? [英] how can i count number of session(user) currently logged in in my website ?

查看:400
本文介绍了我如何计算当前在我的网站上登录的会话(用户)数?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想计算当前在我的网站上登录的用户数,
(当前有多少在线用户……)
当任何用户的会话关闭时,则应减少计数...

谁能给我一个适当的解决方案.....

救救我...

THNX

i want to count number of user currently logged in in my website,
(how many user online currently......)
when session for any user closed then count should be decreased......

can any one give me a proper solution.....

Help me......

THNX

推荐答案

有很多方法可以计算ASP.NET网站上的活动访问者数量.
它们在技术和准确性上有所不同.但是,通过创建Global.asax文件,这是最简单的方法.为此;

这是告诉您如何实现此目标的链接.

如何显示ASP的在线访问者.净 [
There are many ways to count number of active visitors on your ASP.NET website.
They differ in technique and accuracy. But this is the simpliest one by creating a Global.asax file. To do this;

Here is the link that will tell you how you can accomplish it.

How to show online visitors for ASP.Net[^]

Good luck,
OI


这篇关于我如何计算当前在我的网站上登录的会话(用户)数?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆