Relative Content

Tag Archive for c#asp.netsessionredis

Sharing Session Between Two C# Microservices Using Redis

I am trying to share a session between two C# microservices using Redis. Currently, RedisDB is only adding keys with the format AuthMicroservice:* and an empty DataProtectionKeys entry. When the second microservice attempts to retrieve the session using HttpContext.Session.GetString(“UserId”), it returns null.