Re: pooled connections and the statechangeevent



Brian wrote:
I have an asp.net application that uses pooled connections.

There was no way for you to know it (except maybe by browsing through
some of the previous questions in this newsgroup before posting yours -
always a recommended practice) , but this is a classic ADO newsgroup.
ADO.Net bears very little resemblance to classic ADO so, while you may
be lucky enough to find a dotnet-knowledgeable person here who can
answer your question, you can eliminate the luck factor by posting your
question to a group where those dotnet-knowledgeable people hang out. I
suggest microsoft.public.dotnet.framework.adonet.

So, there
may be connections that exist even after my particular use of the
connection object is disposed.

If, for some reason a pooled connection is not used in a long enough
period of time that the database closes the connection, does the
pooling connection manager monitor the statechangeevent and remove
this connection from the pool (or automatically re-establish it)?
Or...do I need to worry about having dead connections from the
connection pool?

There is no need to worry about it. Closed connections are not retained
in the pool. Typically connections are closed by the pool manager long
before the database manager.

--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.


.



Relevant Pages

  • RE: VBscript Error on SBS2k3
    ... double confirm if your router and client computer does not have incoming ... This newsgroup only focuses on SBS technical issues. ... | Accessories and Communications and Remote Desktop Connection? ... | computer and your router does not have incoming TCP port 4125 opened. ...
    (microsoft.public.windows.server.sbs)
  • RE: ICS and DHCP problems in Sp2
    ... I have posted my suggestion in the newsgroup ... This posting is provided "AS IS" with no warranties, ... | 192.168.0.3 and the network is running fine. ... | When I try to share the DSL connection on the desktop (modem is USB, ...
    (microsoft.public.windowsxp.network_web)
  • Re: VPN via Wireless Broadband
    ... Please understand that our newsgroup is an issue based service, ... Additional, then you connection to SBS with VPN, the XP client ... Virtual Private Network Connection ... |>If we can not resolve the issue after we perform the above steps, ...
    (microsoft.public.windows.server.sbs)
  • RE: Accessing Sharepoint via a VPN with XP Home
    ... To check your connection settings, click the Tools menu, and then click ... See if your Internet connection settings are being detected. ... > Thank you for posting to the SBS Newsgroup. ... > I understand that you cannot VPN to http://companyweb from Windows XP Home ...
    (microsoft.public.windows.server.sbs)
  • Re: Problems installing Firebird Data Provider
    ... something in the Add Connection Dialog Box after specifying Firebird ... PackageLess reg file and then the regular reg file (after cleaning ... some of the previous questions in this newsgroup before posting yours - ... but this is a classic ADO newsgroup. ...
    (microsoft.public.data.ado)