Dedicate a Content Delivery instance to session expiration
You can dedicate one or more Content Delivery instances to handle session expiration. The following diagram shows two clusters of Content Delivery instances, each with a dedicated instance for handling session expiration:
To dedicate a Content Delivery instance to session expiration:
-
Install a Content Delivery instance from the XP Scaled packages. This instance:
-
Should not be a public-facing and can be behind a firewall.
-
Must have access to the session state storage role.
-
Does not need to be a publishing target, unless you have custom conversion pipelines that rely on published content.
-
Does not need to sit behind a load balancer. This applies even if you have multiple Content Delivery instances dedicated to handling session expiration.
-
-
In the
web.config
file, set thepollingEnabled
setting on the session state provider totrue
. -
On all public-facing Content Delivery instances, set the
pollingEnabled
setting tofalse
. -
Monitor the size of the session storage role and tune session expiration settings accordingly.