Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

session limiting for a particular user or for all users Expand / Collapse
Author
Message
Posted Tuesday, August 7, 2012 2:42 AM
SSC Rookie

SSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC Rookie

Group: General Forum Members
Last Login: Tuesday, March 4, 2014 8:34 AM
Points: 43, Visits: 178
how to limit a session for a user for 30 minutes after which he automatically gets disconnected and has to connect again?????
Post #1341068
Posted Tuesday, August 7, 2012 8:43 AM


SSCoach

SSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoach

Group: General Forum Members
Last Login: Yesterday @ 1:36 PM
Points: 16,138, Visits: 16,841
sql-noob (8/7/2012)
how to limit a session for a user for 30 minutes after which he automatically gets disconnected and has to connect again?????


Are you talking about an IIS session or a sql connection?


_______________________________________________________________

Need help? Help us help you.

Read the article at http://www.sqlservercentral.com/articles/Best+Practices/61537/ for best practices on asking questions.

Need to split a string? Try Jeff Moden's splitter.

Cross Tabs and Pivots, Part 1 – Converting Rows to Columns
Cross Tabs and Pivots, Part 2 - Dynamic Cross Tabs
Understanding and Using APPLY (Part 1)
Understanding and Using APPLY (Part 2)
Post #1341319
Posted Tuesday, August 7, 2012 9:01 AM


SSChampion

SSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampion

Group: General Forum Members
Last Login: Yesterday @ 8:07 PM
Points: 14,543, Visits: 38,400
sql-noob (8/7/2012)
how to limit a session for a user for 30 minutes after which he automatically gets disconnected and has to connect again?????

also are you looking for session time outs, where they are IDLE for 30 minutes and you want to drop them?

or do you want a 30 minute hard limit? what if someone is hard at work at the 29 minute mark? would you want them booted off?


Lowell

--
help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!
Post #1341337
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse