Create a data grid to save session
state from your ASP.NET applications.
Procedure
- Create a map for the ASP.NET session
states. These maps must have: pessimistic locking, COPY_TO_BYTES copy mode, and a LAST_ACCESS_TIME TTL evictor.
<objectGrids>
<objectGrid name="my_net_session_grid">
<backingMap name="my_net_session_map"
copyMode="COPY_TO_BYTES"
lockStrategy="PESSIMISTIC"
nullValuesSupported="false"
ttlEvictorType="LAST_ACCESS_TIME"
timeToLive="60"/>
</objectGrid>
</objectGrids>
To use the WebSphere® eXtreme Scale ASP.NET session state
store provider default settings, specify the my_net_session_grid value as session and the my_net_session_map value as ASPNET.SessionState.
- Configure the deployment descriptor XML
file. You must use fixed partition placement for the ASP.NET
session state store provider.
placementStrategy="FIXED_PARTITION"
- Restart the data grid.
What to do next
Update the configuration of your web application to use the
data grid. For more information, see
Configuring your .NET application to use the ASP.NET session state store provider.