﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
22938	clearsessions doesn't remove file-based sessions	atarkowska@…	nobody	"My Django app uses file based session engine. I am currently experience issues with cleaning session files from tmp directory. Basically running '''clearsessions''' doesn't remove them at all.

I have been playing a bit with that to try various configurations and debugging Django code. Basically, {{{get_expiry_age}}}
 https://github.com/django/django/blob/stable/1.6.x/django/contrib/sessions/backends/file.py#L90 returns cookie age rather then negative value.
That seems to be due to {{{session_data.get('_session_expiry')}}} being None. Is that a bug in file based session backend?"	Bug	closed	contrib.sessions	1.6	Normal	fixed			Accepted	1	0	0	1	0	0
