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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access