How to close the session in asp.net if computer idle for 5 mins -


i m developing web application using asp.net , want close current user session if computer idle 5 minutes. idle not means web application only, full system means if no keystroke received keyboard 5 mins.

i got info thru google idle tracker in vc++ dont know how use dll in web application. link here.

please guide me how achieve this. want total computer active time , idle time thru asp.net employees productivity report.

asp.net bad choice requirement. asp.net runs on server, while want track client side events.

for security reasons, web page can't have such privileges without use of activex or browser plugin, it's complex write, complex deploy , big opened window security breaches.

you should create classic desktop application, or search option in gpos, there's maybe something.

the simple solution can suggest :

  1. create small script file logoff user (search logoff command line)
  2. create scheduled task :
    1. triggers when specified amount of idle time has been reached
    2. launch script file wrote
  3. deploy scheduled task users using whatever method want

if choose approach, recommand move http://superuser.com or http://serverfault.com, correct place such cases


Popular posts from this blog

How to calculate SNR of signals in MATLAB? -

c# - Attempting to upload to FTP: System.Net.WebException: System error -

ios - UISlider customization: how to properly add shadow to custom knob image -