---
title: "Using Azure Redis with Managed Cloud"
slug: "using-azure-redis-with-managed-cloud"
abstract: "Configure a shared or private session state for your Sitecore solution with the Redis cache."
---
# Using Azure Redis with Managed Cloud

There are two types of session states that Sitecore uses the Azure Redis cache for. You can use the secure [Azure Redis cache](https://docs.microsoft.com/en-us/azure/azure-cache-for-redis/) to configure a *shared* or *private* session state for your Sitecore solution.

**A shared session state database** - shares data across multiple sessions. For example, the Redis cache collects data related to contacts and devices, and saves the information to the session state database.

You can [configure a shared session state database using the Redis provider](https://doc.sitecore.com/xp/en/developers/91/platform-administration-and-architecture/walkthrough--configuring-a-shared-session-state-database-using-the-redis-provider.html).

**A private session state database** - the Redis cache collects all data related to a specific interaction and saves it to the session state database. Interactions include: viewed pages, converted goals, triggered campaigns, or accumulated engagement points.

You can [configure a private session state database using the Redis provider](https://doc.sitecore.com/xp/en/developers/91/platform-administration-and-architecture/walkthrough--configuring-a-private-session-state-database-using-the-redis-provider.html).

To configure a session state in Sitecore, refer to the [Redis provider settings reference](https://doc.sitecore.com/xp/en/developers/91/platform-administration-and-architecture/redis-provider-settings-reference.html) for the connection strings that you need.