[Flask] Change session timeout per user

Ritesh Nadhani riteshn at gmail.com
Mon Dec 4 21:29:37 EST 2017


I am using Flask-Security with Flask-Redis for session. Right now the
user session timeout is set globally based on permanent_timeout value.

Has anybody ever implemented a solution to do user level different timeout?

If not can we change the timeout during runtime without restarting the
whole wsgi process?


More information about the Flask mailing list