SQLLoginTimeout

Examples


This setting allows you to specify a timeout period - the length of time to wait for a data source login attempt to be completed before returning an unsuccessful status message.

Syntax

SQLLoginTimeout = number

Parameters

number - The number of seconds to wait for a login attempt to be completed.

Comments

This setting limits the length of time your application will wait for a data source login attempt to be completed. A login doesn’t have to be successful to be completed; rather, an attempt to log in must be made and a status code defining the result of that attempt must be returned.

If you don’t want to have a timeout period for your application’s login, include this setting in the defaults file and set it to 0 (zero). This will cause your application to wait indefinitely for a status code to be returned.

If this setting isn’t included in the defaults file, the system default setting of 15 seconds will be used. This should provide ample time for a login attempt to be completed. If you frequently timeout, network traffic or other factors may necessitate that you increase the timeout period.


Documentation Feedback