Configure User Sessions

Scenario/Problem: You want to modify the amount of sessions per user within Access Services.

Solution: Use the SessionsPerUserMax or SessionsPerAnonymousUserMax parameters with the Set-SPAccessServiceApplication cmdlet.

The SessionsPerUserMax and SessionsPerAnonymousUserMax settings determine the maximum number of sessions that can be created per user. When the limit is reached, older sessions are deleted to make room for new ones. The default per user is 10, whereas the default per anonymous user is 25. An entry of -1 denotes unlimited, and the valid range otherwise is 1 to the maximum integer value allowed. Listing 23.15 shows an example of setting both user session values.

Listing 23.15. Modifying the Number of Sessions ...

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.