Hi
I am looking for a piece of code or function so that my application will close after x minutens of no activity.
Anyone know how to code this
Thanks in advanged
Cheers Ingmar
Hi
I am looking for a piece of code or function so that my application will close after x minutens of no activity.
Anyone know how to code this
Thanks in advanged
Cheers Ingmar
I actually need the opposite feature, a "stay alive" option. After X minutes I will sent a query t o the database to keep my connection open!
We do the "exact" same thing for our Oracle database connection, but ... we do it with a timer() on a timer event of our mdi frame window. Theoretically, if a user just opens some window, and does nothing else (database related), like for example: "moving the mouse around for some minutes", then your idle() event isn't fired (since the app isn't 'idle'). You could still be disconnected from the database, since the idle event of the app object won't run and your "heart beat select" won't execute.
regards