Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Ticket #1406 (closed defect: fixed)

Opened 11 years ago

Last modified 10 years ago

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

Reported by: j Owned by: 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 Download (1.6 KB) - added by j 11 years ago.
ie and safari will not save cookies with max-age set, has to be expires

Change History

Changed 11 years ago by j

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

comment:1 Changed 11 years ago by j

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

comment:2 Changed 10 years ago by Chris Arndt

  • Milestone changed from 1.0.3 to 1.0.4

Batch promoting 1.0.3 tickets to Milestone 1.0.4

comment:3 Changed 10 years ago by faide

  • Status changed from new to closed
  • Resolution set to fixed

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

comment:4 Changed 10 years ago by chrisz

See #1729 for adverse effects of this change.

Note: See TracTickets for help on using tickets.