April 5, 2010 at 7:20 am
Dear All,
Can we set ssion timout period Server 2005.? (Like in Asp.dot etc,..)
Thanks.
April 5, 2010 at 7:38 am
Joy i believe that is a function of the application that is doing the connecting...for example SSMS will wait forever, whereas any application that is creating an instnace of a SQLConnection gets a default timeout of 30 seconds; there is a parameter ont he SQLCommand to change the timeout.
Since the application decides how long it will wait for SQL to respond, I don't think you'll find a server side setting for it.
Lowell
April 5, 2010 at 7:45 am
From the SQL Server side, there is no "Session timeout" setting. If you need to do it from the server side, the proc described here: http://www.sqlservercentral.com/articles/Administration/sweepuptheslackers/158/ is a good way to clean up idle sessions that remain connected.
April 5, 2010 at 7:53 am
2008 does offer the query governor as a mechanism for preventing long-running queries. You can also set a a remote server connection timeout setting for the server, however, this is specific to outgoing connections from the server, not queries coming in.
Other than that, connections, as stated above, and timeouts are maintained by the client.
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply