Flask logs everyone out when ever I make changes to the code
Sessions are signed against the app.secret_key so perhaps you're automatically generating a new secret key each time you launch your app?
I am using Flask and Nginx on my production server and Flask seems to log everyone out whenever I make a change to the code. I realize the reason for this, but I was wondering if there is any way to prevent this. I am using a proxy with Nginx if that makes any difference, I could easily switch back to uwsgi if that will fix the problem but I would prefer to keep my configuration the way it is.
Thanks for your help.
EDIT: If there is any confusion, I am trying to find a way to keep everyone logged in when I make changes to my code.