Ticket #1652 (closed defect: fixed)

Opened 4 months ago

Last modified 4 months ago

[PATCH] tg-vist cookie is not resent

Reported by: mschw Assigned to: faide
Priority: normal Milestone: 1.0.4
Component: TurboGears Version: 1.0.4b3
Severity: major Keywords:
Cc:

Description

Once the visit cookie is has been sent to the browser it is not resent until it expires. Since cookie is never resent, user sessions expire after 20 minutes regardless of the number of page requests made in the meantime.

This problem has already been described in the Mailing List.

The attached patch solves the problem. I've also added a test in order to check whether the cookie is resent with a new expiry time.

Attachments

patch.diff (2.9 kB) - added by mschw on 01/08/08 06:10:26.

Change History

01/08/08 06:10:26 changed by mschw

  • attachment patch.diff added.

01/12/08 16:04:20 changed by faide

  • owner changed from anonymous to faide.
  • status changed from new to assigned.
  • summary changed from tg-vist cookie is not resent to [PATCH] tg-vist cookie is not resent.

01/13/08 13:41:46 changed by faide

  • status changed from assigned to closed.
  • resolution set to fixed.

applied in r3900 thanks! (this is present in the 1.0.4b4 released this afternoon)