Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Secure Cookies: Recommendation of Expires vs Max-Age? #37640

Open
cycomachead opened this issue Jan 14, 2025 · 0 comments
Open

Secure Cookies: Recommendation of Expires vs Max-Age? #37640

cycomachead opened this issue Jan 14, 2025 · 0 comments
Labels
Content:Security Security docs needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened.

Comments

@cycomachead
Copy link

MDN URL

https://developer.mozilla.org/en-US/docs/Web/Security/Practical_implementation_guides/Cookies

What specific section or headline is this issue about?

Solution

What information was incorrect, unhelpful, or incomplete?

The text includes the line:

Expires is preferred unless you need to support IE < 8, in which case use Max-Age.

Given the benefits of Max-Age, should this sentence not be reversed?

What did you expect to see?

I thought Max-Age was the preferred form of setting a cookie's expiration date.

Do you have any supporting links, references, or citations?

No response

Do you have anything more you want to share?

No response

MDN metadata

Page report details
@cycomachead cycomachead added the needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. label Jan 14, 2025
@github-actions github-actions bot added the Content:Security Security docs label Jan 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Content:Security Security docs needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened.
Projects
None yet
Development

No branches or pull requests

1 participant