Skip to content Skip to sidebar Skip to footer

Flask Session Not Reloading

Right now I am using Flask and a flask 3rd party library Flask-Session Using the code below, I reload the page 4 times and get the following output: set userid[0] 127.0.0.1 - - [27

Solution 1:

You need to have cookies enabled for sessions to work. Even Flask-Session cannot track a browser without those.

Flask-Session sets a cookie with a unique id, then later on finds your session data again by that cookie.


Post a Comment for "Flask Session Not Reloading"