Forum Discussion
Laurence Lemmon-Warde
Jan 29, 2020Copper Contributor
Redis Session stopped working in SharePoint Online Add-In
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!
- UboddenbergCopper Contributor
hi
similar problem here. Do you have a solution?
uli
- Laurence Lemmon-WardeCopper Contributor
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.