Consultor Eletrônico



Kbase P111922: How to terminate the 4GL session after a designated period of inactivity
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   6/25/2010
Status: Verified

GOAL:

How to terminate the 4GL session after a designated period of inactivity

GOAL:

How to automatically quit the 4GL session after certain inactivity timeout

GOAL:

Is there a 4GL parameter to terminate the client session after certain inactivity timeout?

FACT(s) (Environment):

Progress 9.x
OpenEdge 10.x
All Supported Operating Systems

FIX:

In order to shutdown the client session after inactivity timeout period, the 4GL application code must be modified.
There is no client startup parameter to achieve this. The 4GL code needs to have one blocking statement with the designated timeout period in seconds:

WAIT-FOR CLOSE OF THIS-PROCEDURE PAUSE 3600.
QUIT.

If there is no activity for this client session for 3600 seconds, then the code will proceed with QUIT statement which will terminate the session.