Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Major mixup in two ASP.NET transactions
Message
De
25/09/2006 17:07:57
 
 
À
25/09/2006 12:16:01
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
VB 8.0
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01150471
Message ID:
01157098
Vues:
69
>Storing connection strings at the global level and reading them once on startup shouldn't cause any problem. And you've confirmed that the connection is always scoped to the DataProvider class (and presumably the DataProvider class is instantiated on every hit ?).
>That still leaves my second question unanswered:
>Are there *any* references to connections held in, or referenced from, oApp?
>(Including possible indirect ones via .DataProvider etc.

Yes, that is correct. The application object uses its Initialize() method to read the configuration file parameters. Everything is then stored in oApp.aConnection(1), which is an array of each connection strings. I only use one presently. Then, oProcess is created at every hit. When needed, oProcess creates data provider objects. There are no data provider objects created at the oApp level. However, I will verify again to make sure all data provider objects are created within the oProcess scope and not into oApp.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform