Opened 5 years ago

Closed 5 years ago

#12492 closed Patch - Bug Fix (fixed)

Mythweb session expiration not updated.

Reported by: parakleta@… Owned by: Stuart Auchterlonie
Priority: minor Milestone: 0.28
Component: Plugin - MythWeb Version: Master Head
Severity: low Keywords:
Cc: Ticket locked: no


Session expiration needs to be updated in PHP my manually recreating the cooking. The session cookie management only creates the cookie if it is missing.

Currently the expiration is set to 365 days, but regardless of how often the mythweb site is accessed the cookie will expire 365 days from when it was first created. This patch sets the expiration to 30 days to match the garbage collector, but updates this expiration every time the site is accessed.

Attachments (1)

session.php.patch (307 bytes) - added by parakleta@… 5 years ago.
patch for include/session.php

Download all attachments as: .zip

Change History (3)

Changed 5 years ago by parakleta@…

Attachment: session.php.patch added

patch for include/session.php

comment:1 Changed 5 years ago by Stuart Auchterlonie

Milestone: unknown0.28
Owner: changed from Rob Smith to Stuart Auchterlonie
Status: newassigned

comment:2 Changed 5 years ago by Parakleta <parakleta@…>

Resolution: fixed
Status: assignedclosed

In 3a3afc477943369ec4ae898afffc232b22ac583e/mythweb:

Fixes #12492 - Mythweb session expiration not updated

Signed-off-by: Stuart Auchterlonie <stuarta@…>

Note: See TracTickets for help on using tickets.