我们可以使用ASP.NET检测用户的监视器屏幕状态 [英] Can we detect user's monitor screen status using ASP.NET

查看:109
本文介绍了我们可以使用ASP.NET检测用户的监视器屏幕状态的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在asp.net创建网站&我想检测用户监视器状态是关闭还是打开。

是否可以在asp.net中检测监视器状态?

实际上我想用户做什么是没有操作他的电脑,他的电脑已经进入睡眠状态,所以我想告诉管理员这个用户不是活跃形式n时间没有。

无关紧要用户正在使用我的网站或者不是我只是想抓住他,如果他离开办公桌或嗨电脑去睡觉心情



请帮帮我

谢谢提前



我尝试了什么:



i试图检测使用onmousemov(),但当用户最小化我的网站N没有时间所以管理员得到消息,用户离线,但他正在处理另一个任务

所以我只是想检测高屏状态时屏幕进入睡眠我想从他的网站登出他,否则他应该在线,直到他自己退出



对不起英语不好
请帮助我,我从三天开始遇到这个问题

i am creating website in asp.net & i want to detect users monitor status either it is off or on.
is it possible to detect monitor status in asp.net?
Actually what i want to do when user is not operating his computer and his pc has gone to sleep mood so i want to inform it to the admin that this user is not active form n no of time.
does not matter user is using my website or not i just want to catch him if he left from the desk or hi pc is gone to sleep mood

please help me
thanks in advance

What I have tried:

i have tried to detect that using onmousemov() but when user minimize my website for N no of time so admin getting the message that user is offline but he is working on another task
So i just want to detect hi screen status when screen gone to sleep i want to log him out from my site otherwise he should be online until he logout himself

sorry for poor English
Please Help me i am getting this problem from three days

推荐答案

幸运的是,这是不可能的......

1。要从最终用户那里获取任何信息,他必须浏览您的网站...

2.即使一个人浏览您的网站广告,您添加了一个JavaScript函数来ping服务器的用户信息,这意味着什么,它仍然有可能用户10小时前离开了大楼...



没有经过验证的方法来检查用户的存在而不实际询问......
Fortunately it is impossible...
1. To get any info from the end user he must browse your site...
2. Even one browse your site ad you add a JavaScript function to ping the server with user info it will means nothing, it is still possible that user left the building 10 hours ago...

There is not proven method to check user's presence without actually asking...


这篇关于我们可以使用ASP.NET检测用户的监视器屏幕状态的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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