[thelist] Connection Inefficiency

Rob Smith rob.smith at THERMON.com
Tue Jan 18 15:27:56 CST 2005


Have you ever noticed that on each one of your pages... I don't know, maybe
you code like this... you have some form of connection string. And if you're
a good coder, at the end of your pages, you close the connection.

That's a highly inefficient use of server resources if you ask me. Isn't
there a cleaver way to detect whether or not a connection to the database is
open for your session, rather than on each page you open and close it?

It's probably starring me right in the face,

Rob Smith

p.s. scripting language is indifferent here...


More information about the thelist mailing list