Issue 2630: Session expiration should slide
Status:  CannotReproduce
Owner: ----
Closed:  Oct 16
Reported by ctal...@smashwords.com, May 1, 2014
Affected Version: 2.8.4 and lower

What steps will reproduce the problem?
1. Set up gerrit with basic http authentication
2. Use gerrit for a long time or leave it over night, whatever floats your boat.
3. Visit a page and not it is still working and you don't need to re-authenticate.
4. Attempt to comment on a review

What is the expected output? 
I should not receive a message informing me to log back in when I have performed an action on the site in the last N minutes.  The cookie expiration date should be adjusted to slide forward when requests are made and basic HTTP authentication is used.

What do you see instead?
I receive a message indicating my session has expired and that I should log in again. Since the authentication is set to basic, I refresh, and then the expiration date is updated.  But my attempt to comment is lost and the flow is interrupted, which is unnecessary and confusing.

May 1, 2014
#1 ctal...@smashwords.com
I don't see a way to edit my issue report.  Step 3 should say "note that it is still working" instead of "not it is still working"
Aug 28, 2015
Project Member #2 dougk....@gmail.com
Looking at this code (while investigating  Issue 2414 ) led me to find that in current master, a new session cookie is sent when less than half of the expiration time is remaining.  Is this still occurring?
Sep 8, 2015
Project Member #3 dougk....@gmail.com
(No comment was entered for this change.)
Status: AwaitingInformation
Sep 8, 2015
#4 ctal...@smashwords.com
I haven't seen this issue in a while, but it was not frequent to start with.  It may be resolved.
Oct 16, 2015
Project Member #5 dougk....@gmail.com
I've tested this while investigating  Issue 2414 , and found that sessions will indeed renew at their half-life.
Status: CannotReproduce