如何找到在线用户总数 [英] how to find total no of online user

查看:82
本文介绍了如何找到在线用户总数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

朋友,

我正在使用C#工作,我遇到一个问题,当用户单击Web浏览器的关闭按钮时,我该如何使用Session.Abandon();

实际上,我想计算我网站的当前在线总用户数,直到他们在线上& ;;如果他们按浏览器的关闭按钮,则应从在线用户总数中扣除该用户.

谢谢&问候
Hussain

Hi Friends,

i m working on C#,i have a problem that is when user click close button of web browser then how can i use Session.Abandon();

Actually i want to count total current online user of my website till they are online & if they press close button of browser that user should be deducted from total no of online users.

Thanks & Regards
Hussain

推荐答案

使用类似 EasyCounter [
Using a tool like EasyCounter[^] or Google analytics could give you some results.


这篇关于如何找到在线用户总数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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