Session state configuration scenarios

Last updated Thursday, July 12, 2018 in Sitecore Experience Platform for Administrator, Developer

In the Sitecore Experience Database, you can use a session state server to track all your contact sessions across different browsers and devices. Configuring session state is particularly important if you have deployed an environment with multiple content delivery servers or clusters of content delivery servers.

The following example scenarios provide guidance on how to configure session state on different types of Sitecore server configurations.

Single standalone server

On a single, standalone Sitecore instance, both private and shared session providers should use the in process (InProc) session state mode.

Single content delivery server and a separate content management server

On a content delivery server and on a content mangement server, you should configure both private and shared session providers to use the in process (InProc) session state mode.

Important

When configuring session state on content management servers, you should always configure session state providers to use the in process (InProc) mode. Sitecore does not support sharing session state among a group of content management servers or between content management and content delivery servers. Out of process session state is only supported on content delivery servers.

Content delivery cluster with a sticky load balancer

On all content delivery instances, you should configure the private (ASP.NET) session state provider to use the in process (InProc) mode. You should configure the shared session state provider to use one of the out of process modes connected to a database shared among all the content delivery instances.

Content delivery cluster with a non-sticky load balancer

On all content delivery instances, you should configure both session state providers to use one of the out of process modes connected to a database (or databases) shared among the content delivery instances.

Send feedback about the documentation to docsite@sitecore.net.