Opened 15 years ago
Closed 15 years ago
#15500 closed (wontfix)
PATCH: Specify the session cookie expiration as a UTC date
| Reported by: | tdignan | Owned by: | nobody | 
|---|---|---|---|
| Component: | contrib.sessions | Version: | 1.2 | 
| Severity: | Keywords: | sessions, settings | |
| Cc: | Triage Stage: | Unreviewed | |
| Has patch: | yes | Needs documentation: | no | 
| Needs tests: | no | Patch needs improvement: | no | 
| Easy pickings: | no | UI/UX: | no | 
Description
I added functionality for this setting:
SESSION_COOKIE_EXPIRY_UTC = "2038-01-19 03:14:07"
Now the session cookie expiry can be specified as a UTC date as well as an offset in seconds.
If used it will override the default SESSION_COOKIE_AGE. Please let me know if I violated any conventions. I really want to get this functionality into Django!
Thanks!
Attachments (1)
Change History (2)
by , 15 years ago
| Attachment: | add_support_for_cookie_expiry_setting.patch added | 
|---|
comment:1 by , 15 years ago
| Resolution: | → wontfix | 
|---|---|
| Status: | new → closed | 
I'm afraid I don't see the use case for having a setting to expire cookies at a particular time. 
  Note:
 See   TracTickets
 for help on using tickets.
    
Add support for setting cookie expiry with a UTC date (patch)