Ticket #1406 (closed defect: fixed)
[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
Change History
Changed 5 years ago by j
-
attachment
turbogears_visit_cookie_timeout.patch
added
comment:1 Changed 5 years ago by j
using expires as its suggested in http://www.cherrypy.org/changeset/963
comment:2 Changed 5 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
Note: See
TracTickets for help on using
tickets.
ie and safari will not save cookies with max-age set, has to be expires