Closed idoshr closed 1 year ago
This is already set automatically by the line above.
I'm strongly disagree as you can see here in flask code that it should be there is poor implementation in flask-session that save the session again and again on each and every request what can lead to performance issue that I open PR for fix that
I ask you to consider it again!!
I don't get what you mean. The line session[field_name] = ...
automatically sets session.modified
, there is no reason to set it manually. It sounds like you're experiencing an issue, but you've misidentified the cause. Please create an issue first, and be sure to provide a minimal reproducible example to demonstrate exactly what is wrong.
flask required session.modified =True for validate session is updated after generate CSRF token
Checklist:
docs/changes.rst
summarizing the change and linking to the issue. Add.. versionchanged::
entries in any relevant code docs.