on 2017 Feb 22 10:46 AM
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.
Thanks Mark
Request clarification before answering.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
30 | |
8 | |
8 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.