Use database to store session instead of Cookie with Flask
问题 I have a python project with Flask. I'm using SQL Alchemy (according to this page of the documentation : http://flask.pocoo.org/docs/0.10/patterns/sqlalche) to handle my database actions. I'm using Flask.session to store user's information (authentication status, preferences, ...) Default Flask's Session behaviour is to store sessions in user's cookie, and to sign this cookie with secret_key so users can't alter it, but they can read it. I don't like that my users are able to "see" session's