GAS Configuration Reference / Configuration file elements |
The COMMAND is an optional configuration element of AUTO_LOGOUT_COMPONENT that provides a mechanism for the Genero Application Server to override an application's auto logout.
<COMMAND Timeout="timeoutSeconds"> commandScript </COMMAND>
<COMMAND Timeout="20">auto-logout-allowed.sh</COMMAND>The command determines whether the auto logout takes place based on the value of an exit code it returns, or whether it times out:
A typical use of the COMMAND option might be to check when the auto logout process is allowed. The external command could be used, for example, to only allow auto logout between the hours of 21.00 pm and 08.00 am, i.e. there would be no auto logout during work hours.
This element is a child of the following element: AUTO_LOGOUT_COMPONENT