[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 372
  • Last Modified:

How to remove idle connections from SQL Server 2005

I have a web application which connects through application server to a SQL SERVER 2005 database. The problem is that after users login to database ( through AppServer, not directly from the Web Site ) and after some time the exit Web Browser window without normal logout process, then there are a lot of connections in SQL Server and they must be dropped. Is there way or parameter to poll idle connections and kill from the SQL Server 2005 ? Thanks.
0
johnf23
Asked:
johnf23
1 Solution
 
JestersGrindCommented:
Check out this link:

http://www.sqlservercentral.com/scripts/Maintenance+and+Management/30082/

It show how to do exactly what you are suggesting.  You would just need to schedule a SQL job to run it on a regular basis.

Greg


0
 
johnf23Author Commented:
I will have a look on it and let you know
0

Featured Post

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now