Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Do you check connection on every call to SQL?
Message
From
05/03/2012 20:33:33
 
 
To
05/03/2012 20:13:05
General information
Forum:
ASP.NET
Category:
Other
Environment versions
SQL Server:
SQL Server 2008
Miscellaneous
Thread ID:
01537347
Message ID:
01537351
Views:
45
You pretty much have to do it that way in a web app because it's stateless.


>I have Web sites with considerable amount of traffic and we hit SQL Server several millions times a week. With an enhance design since a while, I open and close the connection at every hit. SQL Server provides connection pooling. So, this is instant. There is no need to keep a connection alive. At least, from several infrastructures I have been supporting, either at Web, desktop or Web Service applications, this is the way I do it.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform