Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CONNECTIONS
Message
 
 
À
19/08/1999 10:35:56
Timothy Enright
Coos Bay Public Schools
Coos Bay, Oregon, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Divers
Thread ID:
00255269
Message ID:
00255425
Vues:
14
>How many connections should an application have in use at any one time and what might be a stategy for managing them?
>
>Thank you!

I have an app that uses connections to 3 different servers -- remote Oracle server in North Carolina [I am in Dallas], a MS Access MDB and a local Oracle server. While only 1 is a constant connection [the one to NC] during the application duration, I do not see a need to limit the number of connections unless there is a limit on the backend. For my Oracle connections, I use a shared connection. My retrieval times are so short because I only retrieve a small set of records at a time, I do not need multiple connections to the same source. This also makes my dial-up users very happy as well.

When I start my app, each user has to provide their user ID and password for the remote Oracle DB for verification. I then open a dummy table that hold the connection open to that Oracle DB until the app is shutdown. Therefore, any other views opened from that DB do not require re-entry of a user ID and password, nor do I have to store that ID and password [not a good idea security wise]. The local Oracle server just has some select-only tables for a generic Oracle ID and password that is stored with the connection in the DBC.
Mark McCasland
Midlothian, TX USA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform