[Django]-Django: Limit to size of database-backed sessions?

4👍

The database backend stores the session data in a TextField in the database.

The size limit of this field depends on your database backend, e.g., for Postgres (stored as text) it is unlimited, and for MySQL (stored as longtext) it is approximately 4GB.

Either way the limit is going to be far higher than ~50KB!

Leave a comment