显示登录的用户数 [英] To display the count of number of users logged in

查看:75
本文介绍了显示登录的用户数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要编码来计算登录网页的用户数量。我尝试使用db和.asax,

它可以工作,但只有刷新页面,才会更新计数。



是否有任何代码在不刷新页面的情况下自动显示用户数。

I need coding to count the number of users logged into a web page. I tried using db and .asax,
It works but only if the page is refreshed, count gets updated.

Is there any code to display the count of users automatically without refreshing the page.

推荐答案

Response.AppendHeader("Refresh", "2");





试试这个



Try this


这篇关于显示登录的用户数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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