M
Martin Arvidsson, Visual Systems AB
Hi!
I am currently developing my first webapplication using .net (2.x)
In a couple examples seen in the helpfile that came with VS2008
i see that they are opening a connection to the sql server.
Issue a command or two, then close the connection.
My question is, wouldn't it be better to have One connection open during the
current session and when the session end, close the connection.
Or perhaps not.
Pros. / Cons gladley taken for me to learn, links, comments etc.
Regards
Martin
I am currently developing my first webapplication using .net (2.x)
In a couple examples seen in the helpfile that came with VS2008
i see that they are opening a connection to the sql server.
Issue a command or two, then close the connection.
My question is, wouldn't it be better to have One connection open during the
current session and when the session end, close the connection.
Or perhaps not.
Pros. / Cons gladley taken for me to learn, links, comments etc.
Regards
Martin