我的asp.net网站登录了多少用户? [英] How many users are logged in my asp.net website?

查看:79
本文介绍了我的asp.net网站登录了多少用户?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的所有用户,



我是初学者所以请帮我讲一下我的asp.net网站上有多少用户登录的话题?

Dear all users,

I am beginner so pls help me about the topic that how many users are logged in my asp.net website?

推荐答案

您的问题不明确。我希望您能为这些事情付出代价



在SQL登录中维护状态列table.Set默认状态= o并在用户登录时将其更新为1并获得状态计数= 1.您将获得登录用户的总数



同样更新当退出时它变成0。





如果你需要网站访问者的数量

点击此处 [ ^ ]
Your question is not clear.I hope you are tring for these things

Maintain a status column in SQL login table.Set default status =o and update it into 1 when user login and get count of status =1.You will get total no of logged in user

likewise update it into 0 when logout.


OR if you need count of visitor of website
Click here[^]


您可以参考此 link [ ^ 显示了不同的方法来实现它



希望这有助于
You may refer this link[^] which shows different approaches to do it

Hope this helps


这篇关于我的asp.net网站登录了多少用户?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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