We have a Stock Take application installed onto a laptop. This uses the SQA ODBC Client. (32bit). As we move around we often get '[ODBC Driver][SQL Anywhere]Connection terminated. The Wifi network does have some dead spots. The main database is on a local server.
I presume this is because it has not seen the server for a specific amount of time. I have looked at the ODBC parameters and there seems to be several timeout settings - which one would help the best 'RetryConnTO' ? or just TO.
asked 22 Feb, 10:46
If an established connection is dropped, your application will need to disconnect and reconnect before the connection can use it again. No connection options will automatically reconnect a previously established connection.
If your application doesn't make requests very often, connections may be less likely to get dropped of you reduce the liveness timeout (server -tl or LivenessTimeout connection parameter). TCP/IP will detect the connection has been dropped if the computer is in a dead stop and the client needs to send or receive. If you don't send or receive until after you are out of the dead spot, your connection will likely continue to be OK.
Kind regards, Ian
answered 22 Feb, 12:45