Scenario/Problem: You want to disable session state for your SharePoint Web Applications.
Solution: Use the Disable-SPSessionStateService
cmdlet.
Disabling the session state can be performed using the Disable-SPSessionStateService
cmdlet. Executing this cmdlet removes the current database and disables the service. Listing 18.3 shows an example command line.
Disable-SPSessionStateService
3.137.188.11