Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What is the best way to remote connect?
Message
De
25/01/2005 22:12:12
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
 
 
À
25/01/2005 18:40:45
Steven Dyke
Safran Seats USA
Texas, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
00980549
Message ID:
00980621
Vues:
30
Hi, Steven-

Me, again. <s>

>The connection here just takes a few seconds usually. Sometimes even less. I have created app both ways, I was just wandering what if any is the standard practice.

Cris points out his proclivity to stateless environments, which is my case, also. Hence my recommendation. IMO, it violates encapsulation for a code to rely on a connection being open. Of course, you'd want to check, first, and not just assume. However, if your opening is so fast, I think it's tidier to keep the tasks all together (open connection, do something, close connection). JMO.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform