Start a timer and check for 1 hour

RadhaKrishnaKiJaya
RadhaKrishnaKiJaya used Ask the Experts™
on
Hi Experts,

I have to check if a station is "IDLE" for 1 hr. If so I have to log the person out. I know I have to start a timer and check if it is one hour since the person being "IDLE". Can anybody please help me how to do it.

Thank you in advance.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Éric MoreauSenior .Net Consultant
Top Expert 2016

Commented:
I have written an article demonstrating it a long time (5 years) ago that you can still read from: http://emoreau.com/Entries/Articles/2010/03/How-to-detect-idle-time-in-a-Net-application.aspx
High School Computer Science, Computer Applications, Digital Design, and Mathematics Teacher
Top Expert 2009
Commented:

Author

Commented:
Thank you.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial