Log in
::
Register
::
Not logged in
Home
Tags
Articles
Editorials
Stairways
Forums
Scripts
Videos
Blogs
QotD
Books
Ask SSC
SQL Jobs
Training
Authors
About us
Contact us
Newsletters
Write for us
Recent Posts
Recent Posts
Popular Topics
Popular Topics
Home
Search
Members
Calendar
Who's On
Home
»
SQL Server 2005
»
Administering
»
Can we set session timout period Server...
Can we set session timout period Server 2005.?
Rate Topic
Display Mode
Topic Options
Author
Message
Joy Smith San
Joy Smith San
Posted Monday, April 05, 2010 7:20 AM
Ten Centuries
Group: General Forum Members
Last Login: Today @ 8:04 PM
Points: 1,371,
Visits: 2,294
Dear All,
Can we set ssion timout period Server 2005.? (Like in Asp.dot etc,..)
Thanks.
Post #896682
Lowell
Lowell
Posted Monday, April 05, 2010 7:38 AM
SSChampion
Group: General Forum Members
Last Login: Today @ 3:06 PM
Points: 11,638,
Visits: 27,712
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
--
There is no spoon, and there's no default ORDER BY in sql server either.
Actually, Common Sense is so rare, it should be considered a Superpower. --my son
Post #896691
NJ-DBA
NJ-DBA
Posted Monday, April 05, 2010 7:45 AM
SSC Eights!
Group: General Forum Members
Last Login: Yesterday @ 11:49 AM
Points: 858,
Visits: 1,329
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.
Post #896701
Grant Fritchey
Grant Fritchey
Posted Monday, April 05, 2010 7:53 AM
SSChampion
Group: General Forum Members
Last Login: Today @ 3:40 PM
Points: 13,380,
Visits: 25,164
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
The Scary DBA
Author of:
SQL Server 2012 Query Performance Tuning
SQL Server 2008 Query Performance Tuning Distilled
and
SQL Server Execution Plans
Product Evangelist for
Red Gate Software
Post #896708
« Prev Topic
|
Next Topic »
Permissions
You
cannot
post new topics.
You
cannot
post topic replies.
You
cannot
post new polls.
You
cannot
post replies to polls.
You
cannot
edit your own topics.
You
cannot
delete your own topics.
You
cannot
edit other topics.
You
cannot
delete other topics.
You
cannot
edit your own posts.
You
cannot
edit other posts.
You
cannot
delete your own posts.
You
cannot
delete other posts.
You
cannot
post events.
You
cannot
edit your own events.
You
cannot
edit other events.
You
cannot
delete your own events.
You
cannot
delete other events.
You
cannot
send private messages.
You
cannot
send emails.
You
may
read topics.
You
cannot
rate topics.
You
cannot
vote within polls.
You
cannot
upload attachments.
You
may
download attachments.
You
cannot
post HTML code.
You
cannot
edit HTML code.
You
cannot
post IFCode.
You
cannot
post JavaScript.
You
cannot
post EmotIcons.
You
cannot
post or upload images.
Copyright © 2002-2013 Simple Talk Publishing. All Rights Reserved.
Privacy Policy.
Terms of Use.
Report Abuse.