Hello all,

I would like to incorporate into my program a routine such that if a user stays for some time without pressing a key, then s/he is logged out of the system.
I would be very grateful if I could be assisted in this way.
Thanks