skip to main content
Using the driver : Timeouts
  

Try DataDirect Drivers Now

Timeouts

The driver supports the LoginTimeout, WSTimeout, and WSRetryCount connection properties. The LoginTimeout property specifies the amount of time, in seconds, that the driver waits for a connection to be established before timing out the connection request. With WSTimeout, you can specify the time, in seconds, that the driver waits for a response to a Web service request. The WSTimeout property can be used in conjunction with the WSRetryCount property. The WSRetryCount connection property can be used to retry select queries that have timed out.
Session timeouts
Session timeouts If the driver receives a session timeout error from a data source, the driver automatically attempts to re-establish a new session. The driver uses the initial server name, port (if appropriate), remote user ID, and remote password (encrypted) to re-establish the session. If the attempt fails, the driver returns an error indicating that the session timed out and the attempt to re-establish the session failed.
Web service request timeouts
You can configure the driver to never time out while waiting for a response to a Web service request or to wait for a specified interval before timing out by setting the WSTimeout connection property for fetch requests. Additionally, in a case where requests might fail, you can configure the driver to retry the request a specified number of times by setting the WSRetryCount connection property. If all subsequent attempts to retry a request fail, the driver will return an error indicating that the service request timed out and that the subsequent requests failed.