I need to find a way to detect if the application is being used or is just
loaded. It should me almost like a screen saver, but only for the
application. What I mean is the following: if the operator has left the
application loaded with his (hers) logon information and is not using the
application for, let's say, 5 minutes ... when he try to use the application
he'll be asked for logon information again.

I hope I've made myself clear ...

Thanks in advanced

All my Best