﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / SQL Server 2008 / SQL Server Newbies  / Inactive database user? / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Tue, 21 May 2013 18:23:43 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Inactive database user?</title><link>http://www.sqlservercentral.com/Forums/Topic1061834-1292-1.aspx</link><description>[quote][b]Markus (2/14/2011)[/b][hr]Some applications create a connection to the db and stay idle and connected to the db. That way when data is requested it simply reuses that idle connection.  Killing them defeats that purpose and will fill up your SQL Server log with killed connections.[/quote]And may cause application errors if the application is not set to handle connections that it thinks are open but are not.</description><pubDate>Mon, 14 Feb 2011 08:40:36 GMT</pubDate><dc:creator>GilaMonster</dc:creator></item><item><title>RE: Inactive database user?</title><link>http://www.sqlservercentral.com/Forums/Topic1061834-1292-1.aspx</link><description>Some applications create a connection to the db and stay idle and connected to the db. That way when data is requested it simply reuses that idle connection.  Killing them defeats that purpose and will fill up your SQL Server log with killed connections.</description><pubDate>Mon, 14 Feb 2011 08:29:56 GMT</pubDate><dc:creator>Markus</dc:creator></item><item><title>RE: Inactive database user?</title><link>http://www.sqlservercentral.com/Forums/Topic1061834-1292-1.aspx</link><description>[quote][b]Charlie.anna (2/10/2011)[/b][hr]Its just a requirement, i hope by doing this i will not break any law :unsure:[/quote]I'm asking because there are very few good reasons to do this and if you do all your application have to be able to deal with connections that they think are open being closed underneath them, transactions being rolled back that should have been committed, etc.May I suggest you go to the person who requested this and find out more information on why?</description><pubDate>Thu, 10 Feb 2011 07:11:45 GMT</pubDate><dc:creator>GilaMonster</dc:creator></item><item><title>RE: Inactive database user?</title><link>http://www.sqlservercentral.com/Forums/Topic1061834-1292-1.aspx</link><description>@GilaMonsterIts just a requirement, i hope by doing this i will not break any law :unsure:</description><pubDate>Thu, 10 Feb 2011 06:53:20 GMT</pubDate><dc:creator>Charlie.anna</dc:creator></item><item><title>RE: Inactive database user?</title><link>http://www.sqlservercentral.com/Forums/Topic1061834-1292-1.aspx</link><description>@Abhijit MoreI am not an advance user, just a programmer so would you please describe :-)</description><pubDate>Thu, 10 Feb 2011 06:51:57 GMT</pubDate><dc:creator>Charlie.anna</dc:creator></item><item><title>RE: Inactive database user?</title><link>http://www.sqlservercentral.com/Forums/Topic1061834-1292-1.aspx</link><description>[quote][b]Charlie.anna (2/10/2011)[/b][hr]I want to automatically logout the inactive users from sql server 2005/2008 after certain time limit(ie. after 5minute).[/quote]Why?</description><pubDate>Thu, 10 Feb 2011 05:58:14 GMT</pubDate><dc:creator>GilaMonster</dc:creator></item><item><title>RE: Inactive database user?</title><link>http://www.sqlservercentral.com/Forums/Topic1061834-1292-1.aspx</link><description>you can leaverage the dynamic management view to check the inactive users.</description><pubDate>Thu, 10 Feb 2011 04:22:15 GMT</pubDate><dc:creator>Abhijit More</dc:creator></item><item><title>Inactive database user?</title><link>http://www.sqlservercentral.com/Forums/Topic1061834-1292-1.aspx</link><description>Hello all,I want to automatically logout the inactive users from sql server 2005/2008 after certain time limit(ie. after 5minute).Is there anyway to do so by management studio or some script?Need your help!Regards,Charlie</description><pubDate>Thu, 10 Feb 2011 04:06:43 GMT</pubDate><dc:creator>Charlie.anna</dc:creator></item></channel></rss>