ScaleOut’s ASP.NET session provider is a custom, out-of-process provider that can be enabled by simply modifying your application’s
web.config
file.
Like WSAF Caching’s session provider, your <sessionState>
element’s mode
attribute must be set to "Custom"
. Simply add the ScaleOut provider to the <providers> element as illustrated below and then change the customProvider
attribute to point to the new "SossStoreProvider"
:
<sessionState mode="Custom" customProvider="SossStoreProvider" cookieless="UseCookies" timeout=60 > <providers> <add name="SossStoreProvider" type="Soss.Web.SossStoreProvider, soss_storeprovider, Version=5.0.0.0, Culture=neutral, PublicKeyToken=a1ec0b86f746a476" /> </providers> </sessionState>
The standard attributes of the <sessionState>
element are supported by the SOSS provider. For example, the timeout
attribute controls the lifetime of the session object in the SOSS store.