Specifies a connection's idle timeout period.
Anywhere except with TDS and Shared Memory connections. Shared Memory and TDS connections (including jConnect) ignore the SQL Anywhere Idle (IDLE) connection parameter.
Integer
None
The Idle (IDLE) connection parameter applies only to the current connection. You can have multiple connections on the same server set to different timeout values.
If no connection idle timeout value is set, the idle timeout value is controlled by the setting on the server, which defaults to 240 minutes. In case of a conflict between timeout values, the connection timeout value supercedes any server timeout value whether specified or unspecified.
The minimum value for the IDLE connection parameter is 1 minute, and the maximum supported value is 32767 minutes. If you specify 0, idle timeout checking is turned off for the connection.
The following connection string fragment sets the timeout value for this connection to 10 minutes:
"ENG=myeng;LINKS=tcpip;IDLE=10" |
Discuss this page in DocCommentXchange. Send feedback about this page using email. |
Copyright © 2009, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.1 |