Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Reasonable time trying to re-connect?
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Reasonable time trying to re-connect?
Miscellaneous
Thread ID:
01685562
Message ID:
01685562
Views:
33
Hi,

I have a code suggested by Walter Meester that tries to reconnect to the SQL Server, if the connection (for whatever reason) fails. The code uses a DO WHILE loop trying to reconnect. Currently I have it set to 120 seconds. But this seems to be excessive, since for a user, waiting for 120 seconds could seem like ages.

What is the reasonable time trying to re-connect, before giving up?

TIA
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Next
Reply
Map
View

Click here to load this message in the networking platform