Skip to content

Enable support for SESSION_REFRESH_EACH_REQUEST#46

Open
SvenFestersen wants to merge 6 commits intombr:masterfrom
SvenFestersen:master
Open

Enable support for SESSION_REFRESH_EACH_REQUEST#46
SvenFestersen wants to merge 6 commits intombr:masterfrom
SvenFestersen:master

Conversation

@SvenFestersen
Copy link

If app.config["SESSION_REFRESH_EACH_REQUEST"] is True, the expiration of permanent sessions is not checked against the creation date stored inside the session id, but against the "t_expires" field saved with a session in the store.

I also had to add some logging during development and decided to keep it around because it proved quite useful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant