Setting the Idle Session Timeout
Note
|
The idle timer will not start if the timeout period is set to zero. |
An idle session timeout can be set:
-
At database level, the database administrator can set the configuration parameter
ConnectionIdleTimeout
, an integer value in minutes.The default value of zero means no timeout is set.It is configurable per-database, so it may be set globally infirebird.conf
and overridden for individual databases indatabases.conf
as required.The scope of this method is all user connections, except system connections (garbage collector, cache writer, etc.).
-
at connection level, the idle session timeout is supported by both the
SET SESSION IDLE TIMEOUT
statement and the API (setIdleTimeout
).The scope of this method is specific to the supplied connection (attachment).Its value in the API is in seconds.In the SQL syntax it can be hours, minutes or seconds.Scope for this method is the connection to which it is applied.
Note
|
For more information about the API calls, consult theFirebird 4.0 Release Notes. |