<script type="text/javascript"> function Timeout(){ var t = setTimeout("RedirectToLogout()", 20*60000); } function RedirectToLogout(){ window.navigate("/_layouts/SignOut.aspx"); } </script> this is the js script i used tried to redirect the page to signout page, but whats happened is if i use this code in managed path like server/site it will redirect to server/_layouts/SignOut.aspx. but it has to redirect to server/site/_layouts/SignOut.aspx
–
My Name is SureshFeb 14 '12 at 9:23

<script type="text/javascript"> function Timeout(){ var t = setTimeout("RedirectToLogout()", 20*60000); } function RedirectToLogout(){ window.navigate("/_layouts/SignOut.aspx"); } </script> this is the js script i used tried to redirect the page to signout page, but whats happened is if i use this code in managed path like server/site it will redirect to server/_layouts/SignOut.aspx. but it has to redirect to server/site/_layouts/SignOut.aspx
–
My Name is SureshFeb 14 '12 at 9:23

If you want to use the JavaScript approach, you can either grab the window.location and regex out to get the managed path, or simply use the L_Menu_BaseUrl JavaScript variable that SharePoint generates you.
–
webdes03Feb 14 '12 at 13:50

EDGE-CASE: If you have a user who has multiple tabs open, and forgets about one of his tabs, after 20 mins (or however long) that tab will log his entire session out, regardless of the activity in the other tabs.
–
James LoveFeb 14 '12 at 20:53

1

@TomResing: Thanks for pointing that out. I was only thinking of the redirection as session expiration will occur anyway. Added clarification of this to my answer.
–
Jussi PaloNov 14 '12 at 13:07

There is a setting located at web application general settings in the Central Admin ( Central Administration -> Application Management > Web application general settings ) which keeps the security validation for 30 mins by default and then if users tries to access the site. user will get a security prompt.

Also note that this depends on the browser settings. For eg:- If in IE "Automatic Logon with current username and password" is checked, then you wont notice a difference even though the time out has been checked.
–
Deepu NairFeb 14 '12 at 8:08

I am not able to access this root. do we have any root likee this.( Central Administration -> Application Management > Web application general settings ) Is that available in SP 2010 ( I fount it It there is manage web application)
–
My Name is SureshFeb 14 '12 at 9:57