Redis Session stopped working in SharePoint Online Add-In

Copper Contributor

Hi all - On Sunday 26th our Provider Hosted SharePoint add-in suddenly stopped working and can no longer use Azure REdis Cache for session. Nothing has changed in the app for 6 months. We can no longer use HttpContext.Current.Session as it loses its data in any postback. Any ideas what happened or how to fix? Using Microsoft.Web.RedisSessionStateProvider 4.0.1

 

Thanks!

2 Replies

hi

 

similar problem here. Do you have a solution?

 

uli

@Uboddenberg Yes we had to remove all HttpContext Session and replace with StackExchange.Redis Cache as the session. Using unique keys for each user as cache is shared. So we removed Microsoft.Web.RedisSessionStateProvider completely.