Configure the Timeout of the Session State
Scenario/Problem: You need to modify the timeout of the Session State Service.
Solution: Use the Set-SPSessionStateService
cmdlet with the SessionTimeout
parameter.
One of the only configuration changes you can perform on the Session State Service is changing the timeout value. When viewing the session state configuration (as explained in the previous section), you notice that the timeout defaults to one hour (01:00:00). To modify this setting, use the SessionTimeout
parameter with the Set-SPSessionStateService,
as shown in Listing 18.5.
Set-SPSessionStateService -SessionTimeout 30
The SessionTimeout
parameter determines the time, in minutes, ...
Get PowerShell™ for SharePoint® 2013 How-To now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.