Azure slots - logged out after swapping slots

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
3 years ago
Hello.

We are using azure pipelines to deploy and publish our nopcommerce solutions. After a swap from 'staging slot' to 'production' is finished, all users are logged out cause the cookie isnt valid anymore (i guess). Changing(swapping) slots is like moving all source code from one website to another.

I'm not sure how to prevent this. Any suggestions?
3 years ago
Could it be so easy as to change this to true?

"UseSessionStateTempDataProvider": false


3 years ago
Probably not - it would still be removed\swapped away from prod.

So  i would probably have to rewrite how the cookie is stored?

Is this the way to go?
https://joonasw.net/view/aspnet-core-data-protection-with-azure-key-vault-and-azure-storage

and then rewrite this:


I'm on version 4.2 and i've read that the redisimplementasion is really bad, so i rather not use that.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.