This example try to explain how to use the sessions on a small FLASK app, consist in a simple login storage in mongoDB for save the sessions parameters of the user. in the profile user is possible to change the colors of the divs just make a click over there.
When you across the links of the app the colors for the divs is loded again on the last configuration that you set. the same occurs when try to login again in the app.
For run the example you need start a mongoDB server and automatically the app when you sign up on the app the data base and collections are created automatically.
INDEX
PROFILE