Hi @WT ,
Per my research, Sessions don't really time out if we are using Windows authentication which will re-validated automatically, and we could not set the session timeout.
If you are using Forms Based authentication , please configure FormsTokenLifetime, LogonTokenCacheExpirationWindow, and CookieLifetime using Powershell:
$sts = Get-SPSecurityTokenServiceConfig
$sts.FormsTokenLifetime = (New-TimeSpan -Minutes 30)
$sts.LogonTokenCacheExpirationWindow = (New-TimeSpan -Minutes 20)
$sts.CookieLifetime = (New-TimeSpan -Minutes 15)
$sts.Update()
iisreset
For SAML based authentication, please refer to https://learn.microsoft.com/en-us/previous-versions/office/developer/sharepoint-2010/hh147183(v=office.14)
Similar issues for your reference:
https://sharepoint.stackexchange.com/questions/1178/session-time-out-for-windows-authentication
Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please make sure that you completely understand the risk before retrieving any suggestions from the above link.
If an Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.