Configure Session State
Scenario/Problem: You want to configure session state settings.
Solution: Use the Set-SPInfoPathFormsService
cmdlet with the appropriate parameters.
When a user is filling out a SharePoint form, InfoPath Form Services uses the SharePoint Server State service to manage user sessions. (You can switch this to View State using PowerShell; see the next section.) Transient data is stored within the session state.
Several settings are involved in the session state configuration:
• MaxPostbacksPerSession: Typically, not much chatter should take place between the form and Forms Services. This setting prevents unintended postbacks or “out-of-control” communications.
• MaxUserActionsPerPostback: Only a handful of actions should ...
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.