Timed Logout

Ashley Tyler

New Member
I would like to post to the group a request for information on any way an active application can be terminated if left inactive for a set period of time?

Thanks in advance.
 
If you are working on UNIX with Charcter system:
Write a script using the 'who -T' command to spot inactive users.

If you are working v8+, GUI:

Accumulating the time is not a problem. Use the timer ocx supplied with Progress to accumulate a global variable containing minutes or seconds inactive whenever it clicks. At each click compare it with the timeout.

The problem arises in how to reset the counter to zero whenever actions take place.

On our SmartObject application we tied it into the publishing of dataAvailable anywhere.

On our non-SmartObject application we were lucky to have decided to use an include file with generic code to perform all appServer calls. The timer was reset whenever such a call was made.

If you're lucky you could use a method similar to either above.
 
Top