In azure mode, you can use the Redis cache to handle the session.
-> install the nuget package RedisSessionStateProvider -> set the SessionState mode to Custom in web.config and customProvider for RedisSessionProvider.
You can find more information from here.
source share