ASP.Net / ADO connection management
Posted on 2004-03-29
What is the best strategy for opening/reading from/closing connections in an ASP.net application? If you have code behind a page that pulls data from a DB, what happens when 2 users access that same code at the same time? Are 2 separate instances of your ado connection object created on the server?
What if you want to open a connection and use it across multiple pages? How would you go about that?