Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Very confused about asp-sql server connections
Message
From
28/07/2003 08:31:50
David Brunelle
Université de Sherbrooke
Sherbrooke, Quebec, Canada
 
 
To
26/07/2003 05:38:15
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00813730
Message ID:
00814040
Views:
13
You should always close the connection once you're done with it. Otherwise it will takes eat up your server's memory. Best thing to do is to open the connection, do what you have to do and then close the connection.

If you have only one database that you use, you shouln't have to use more than one connection though. You will have to use more than one command/recordset objects if you have more than one request for sure,but then again you should always close them as soon as you're done with them, especialy the recordsets.
Previous
Reply
Map
View

Click here to load this message in the networking platform