Why do some Flask session values disappear from the session after closing the browser window, but then reappear later without me adding them?
- by Ben
So my understanding of Flask sessions is that I can use it like a dictionary and add values to a session by doing:
session['key name'] = 'some value here'
And that works fine.
On a route I have the client call using AJAX post, I assign a value to the session. And it works fine. I can click on various pages of my site and the value stays in the…