---
title: "Configure a dedicated Expired Session Processing server"
slug: "configure-a-dedicated-expired-session-processing-server"
abstract: "Use the pollingEnabled setting to disable expired session processing"
---
# Configure a dedicated Expired Session Processing server

The Sitecore Experience platform supports a dedicated server for expired session processing. This means that if you have an environment using a cluster of CD servers, you can configure some of the servers to only serve content, but not to process the expired session state data by using the `pollingEnabled` setting. The `pollingEnabled` setting specifies whether to enable processing of expired sessions (default value is *true*). For example, you can enable it on the CD servers that are dedicated to expired sessions processing and disabled it on the live CD servers, (that serve content to visitors).

> [!important]
> You must ensure the servers that are dedicated to expired session processing are not serving content to visitors. For example, if you have configured a load balancer for CD servers, you must ensure requests do not redirect to servers that are dedicated to expired sessions processing.

## Enable or disable expired session processing for private sessions

To configure the dedicated expired private session processing:

- Go to the `web.config` file and check the `pollingEnabled` value is set to `true` for your dedicated expired session processing servers.

To disable expired session state processing for the CD servers that serve content to visitors:

- Go to the `web.config` file and set the `pollingEnabled` value to *false*:

    ```xml
    <sessionState mode="Custom" customProvider="<configured custom provider name>" timeout="20">
      <providers>
        <add name="="<configured custom provider name>"
          …
          pollingEnabled ="false"
          applicationName="private"/>
      </providers>
    </sessionState>
    ```

## Enable or disable expired session processing for shared sessions

To configure the dedicated expired shared session processing:

- Go to `App_Config\Sitecore\Marketing.Tracking` and in the `Sitecore.Analytics.Tracking.config` file leave the `pollingEnabled` setting set to *true* for your dedicated expired session processing servers.

To disable expired session state processing for those CD servers that serve content to visitors:

- Go to `App_Config\Sitecore\Marketing.Tracking` and in the `Sitecore.Analytics.Tracking.config` file set the `pollingEnabled` setting to *false*:

    ```xml
    <sharedSessionState mode="Custom" customProvider="<configured custom provider name>" timeout="20">
      <providers>
        <add name="="<configured custom provider name>"
          …
          pollingEnabled ="false"
          applicationName="shared"/>
      </providers>
    </sharedSessionState>
    ```