By default, Oracle Forms is not configured to have sessions timeout after a session has been idle for a specific period of time. However, it can be possible to either configure timeouts in Oracle Forms or to have Forms sessions time out due to outside factors.
In Forms 12c, Oracle Forms has three different parameters available for configuring timeouts:
heartBeat – Indicates the frequency which the client sends a packet to the server to indicate that it is still up and running
Defined in: $DOMAIN_HOME/config/fmwconfig/servers/WLS_FORMS/applications/formsapp_12.2.1/config/formsweb.cfg
Default value (if not set): 2 (minutes)
Minimum allowed value: None
Maximum allowed value: None
FORMS_TIMEOUT – Indicates the amount of time (in minutes) before a Forms session is terminated when there is no client communication with the server. Such communication occurs when either the user is doing something in the app or from the heartbeat when the user is not using the form (the session is idle).
Defined in: $DOMAIN_HOME/config/fmwconfig/servers/WLS_FORMS/applications/formsapp_12.2.1/config/<ENV_FILE>.env
Default value (if not set): 15 (minutes)
Minimum allowed value: 3 (minutes)
Maximum allowed value: 1440 (minutes)
NOTE: Oracle does not recommend setting FORMS_TIMEOUT greater than 15 minutes.
Session-Timeout – Indicates the number of minutes elapsed for timing out a Forms session.
Defined in: $DOMAIN_HOME/config/fmwconfig/deployment-plans/formsapp/12.2.1
Default value (if not set): 60 (minutes)
For no timeout to occur, the heartBeat must be set to a value less than both FORMS_TIMEOUT and Session-Timeout. The reason is that when a Forms session is idle, a heartbeat is sent from the client to send a signal to the server to keep the session alive and not timeout. A timeout from the Forms side will only occur if the time between when the session became idle and either FORMS_TIMEOUT or Session-Timeout is reached before either a session becomes active again by user interaction or by a heartbeat. With the default settings indicated above, the heartbeat is set to a value less than both FORMS_TIMEOUT and Session-Timeout. As a result, no timeout will occur unless timeout settings are manually configured.