pallets-eco / flask-session

Server side session extension for Flask
https://flask-session.readthedocs.io
BSD 3-Clause "New" or "Revised" License
501 stars 239 forks source link

Using mongodb for flask session without proper index causes session update failure #139

Closed MajorAdam closed 2 years ago

MajorAdam commented 2 years ago

If there are no index, session update doesn't seem to work and login fails. After setting index for id field, everything works fine. I wonder is this because response ended the thread and killed the mongo connnection?