pallets-eco / flask-session

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

SQLAlchemy backend creates an incredible number of table entries #25

Closed jschneier closed 9 years ago

jschneier commented 9 years ago

I have a maximum of 30 or 50 users (the same users always) using my platform on any given day and I currently (after a couple weeks) have 90k+ entries in my SQLAlchemy table. What creates so many and why are they there, I believe I am using only default configurations.

fengsp commented 9 years ago

By default, all non-null sessions in Flask-Session are permanent. What this means is that every request that doesn't support cookie will generate an entry, crawlers might be the reason for it.