Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Major mixup in two ASP.NET transactions
Message
From
25/09/2006 17:07:57
 
 
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
VB 8.0
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01150471
Message ID:
01157098
Views:
68
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform