1
Answer

Want to detect either pc is in sleep mode or not

Syed Ather

Syed Ather

7y
205
1
  • I am creating a website in asp.net. and i want to detect my pc screen mood is on/off.
  • when the monitor screen is turn off i want to user redirect to the login page.
  • is there any way to detect monitore's screen mood or sleep mood to chcek user is active or not on the system?

thanks in advance

and sorry for poor english
Answers (1)
1
Naveen Bisht

Naveen Bisht

NA 1.6k 13k 7y
it is better you can set timeout in web.config by default it is 20 min, once website goes in idel mode after 20 min it will go login page