DaveP,
You can have a persistent connection, but to be honest, you are better
off opening the connection when you need it, and then closing it when you
are done. If you are going to do a number of database operations in a
well-defined context, then I would say it's fine to keep the connection open
for that context and close it when that context is left.
However, I think that doing this (keeping a connection open) is
considered a premature optimization.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"DaveP" <dv*****@sbcglobal.netwrote in message
news:on****************@newssvr17.news.prodigy.net ...
Can you have Persistent Connection (always open)
in Dot.net
I have multiple calls i have to make back to the server
would like to keep the connection open...
or is this a mute point since pooling is handling cached connections
Tks
DaveP