Skip to content

feat: set max cookie age#173

Draft
cbachhuber wants to merge 5 commits into
mainfrom
feat/165-set-cookie-max-age
Draft

feat: set max cookie age#173
cbachhuber wants to merge 5 commits into
mainfrom
feat/165-set-cookie-max-age

Conversation

@cbachhuber
Copy link
Copy Markdown
Collaborator

@cbachhuber cbachhuber commented May 2, 2026

Cookies can persist between sessions on mobile devices, but only if the cookie is created as a persistent cookie with an expiry/Max-Age; otherwise it is a session cookie and may disappear when the browser session ends. Persistent cookies are stored on the device and remain until they expire or are manually cleared, including on mobile browsers.

We'll, I didn't set max-age in #171, so let's fix that and see if it works. Relates to #165.

@cbachhuber cbachhuber changed the title feat: set cookie max age feat: set max cookie age May 2, 2026
@cbachhuber cbachhuber force-pushed the feat/165-set-cookie-max-age branch from fa79227 to 6ae165c Compare May 31, 2026 03:50
@cbachhuber
Copy link
Copy Markdown
Collaborator Author

Tested by @BayerC from this branch, doesn't work :/

image

@cbachhuber cbachhuber closed this May 31, 2026
@BayerC BayerC reopened this May 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants