Re: Database session deletion

2018-01-05 Thread Adam Johnson
Hi George-Cristian, I agree, the 'clearing the session store' paragraph could be more explicit about what conditions sessions do get deleted. I encourage you to check https://docs.djangoproject.com/en/dev/internals/contributing/ , open a ticket, and make a PR with some updated wording :) I also

Database session deletion

2018-01-03 Thread George-Cristian Bîrzan
The documentation explicitly mentions that expired sessions aren't automatically deleted from the database, except when the user manually logs out. [1] That, however, isn't the case. Firstly, when trying to access a user whose password was changed, the session is deleted from the database. [2]