Click to See Complete Forum and Search --> : Application Idle


srinivasreddyp
August 1st, 2001, 07:20 AM
i have an application with 60 forms, and atleast 40 simultaneous users use it,
so are the database connections.my problem is to end the application if it is idle for more than 20 minutes. From my application i call an excelobject to print reports which takes a max of 2-3 hours depending on the report so ordinary keyboard hit and mouse movement tracking is not useful.

Many thanks in Advance

Ghost308
August 1st, 2001, 08:08 AM
Could you put a timer in that is monitored and restarted each time a user makes a transaction within your app? Set a timer interval to 60000 (1 minute) and check to see how much time has lapsed since the last user transaction and if it is greater than 20 minutes, then end the app. Just a suggestion, good luck!