Ticket #1406 (closed defect: fixed)

Opened 1 year ago

Last modified 2 months ago

[PATCH] visit cookie should set max-age to visit.timeout

Reported by: j Assigned to: anonymous
Priority: normal Milestone: 1.0.4
Component: TurboGears Version: 1.0.2
Severity: normal Keywords:
Cc:

Description

the cookies should have the same timeout as the session does, this way it is possible to keep users logged in for longer than the time the browser is running.

Attachments

turbogears_visit_cookie_timeout.patch (1.6 kB) - added by j on 06/13/07 07:05:36.
ie and safari will not save cookies with max-age set, has to be expires

Change History

06/13/07 07:05:36 changed by j

  • attachment turbogears_visit_cookie_timeout.patch added.

ie and safari will not save cookies with max-age set, has to be expires

06/13/07 07:06:17 changed by j

using expires as its suggested in http://www.cherrypy.org/changeset/963

07/23/07 13:26:47 changed by Chris Arndt

  • milestone changed from 1.0.3 to 1.0.4.

Batch promoting 1.0.3 tickets to Milestone 1.0.4

09/02/07 12:58:16 changed by faide

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

Applied to r3443 (1.0) and r3444 (1.1). Thanks!

03/03/08 16:17:41 changed by chrisz

See #1729 for adverse effects of this change.