﻿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
8155	Random session timeouts when setting request.set_expiry(0)	danjac	nobody	"Latest Django trunk ((0, 97, 'pre')), Debian latest stable, Apache2, MySQL, Python 2.5.

We have been experiencing random logouts (session timeouts) on our web application (http://moblog.net). Users experience on average several logouts every day.

This seems to be down to two reasons:

1. Calling request.session.set_expiry(0), i.e. to end the session when the user's browser is closed. Setting this to a set time in seconds seemed to solve this issue, but it appears that using this setting can somehow interfere with session timeouts.

2. KeepAlive? ""off"" or a low KeepAliveTimeout? (1-5 seconds). We would like to reduce KeepAliveTimeout? in order to improve server performance, unfortunately this again seems to have caused the random session timeout problem to reappear. "		closed	contrib.sessions	dev		worksforme	session, timeouts		Unreviewed	0	0	0	0	0	0
