Summer Sale! All accounts are 50% off this week.

Mick79's avatar

Session variables and multiple instances

I've recently moved to Render (from Heroku) and I'm utilising autoscaling.

When my app is running on more than once instance, I am getting massive problems with parts of my code that rely on session variables. Am I right to assume that as users are passed between boxes then their session variables will be lost?

Is there another way to handle session variables when using a dockerised app across multiple instances?

0 likes
2 replies

Please or to participate in this conversation.