Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
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 07, 2012 2:42 AM
SSC Rookie

SSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC Rookie

Group: General Forum Members
Last Login: Tuesday, March 04, 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 07, 2012 8:43 AM


SSChampion

SSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampion

Group: General Forum Members
Last Login: Today @ 10:07 AM
Points: 11,938, Visits: 10,973
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 07, 2012 9:01 AM


SSChampion

SSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampion

Group: General Forum Members
Last Login: Today @ 10:06 AM
Points: 12,741, Visits: 31,046
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

--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 #1341337
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse