Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Invalid DB Connection
Message
 
 
À
17/08/2009 04:55:56
Hong Yew
People Quest
Malaisie
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01418416
Message ID:
01418421
Vues:
47
Check SQLIDLEDISCONNECT() function.

>
>I have a C/S app on VFP 9.0
>
>I noticed that if I leave the app for a while, the DB connection sometimes becomes
>invalid and if user clicks on the app that cause a data access to MSSQL, a "Non Recoverable error
>message" will be displayed.
>
>Is there a way to detect a DB connection has dropped off and auto log out the
>users from the app? Or alternatively, how can I detect the problem and auto
>reconnect again?
>
>Your advice much appreciated.
>
>Many Thanks & Best Regards
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform