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

asked 22 Feb, 10:46

ThelmaCottage's gravatar image

ThelmaCottage
56115
accept rate: 0%


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

permanent link

answered 22 Feb, 12:45

Ian%20McHardy's gravatar image

Ian McHardy
2.9k23049
accept rate: 38%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×124
×14

question asked: 22 Feb, 10:46

question was seen: 131 times

last updated: 22 Feb, 12:45