Skip to content

Clarify that max-age is not set by default #1128

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

Merged
merged 1 commit into from
Jan 20, 2023

Conversation

adamu
Copy link
Contributor

@adamu adamu commented Jan 20, 2023

I was a bit confused by this statement:

By default a signed or encrypted cookie is only valid for a day, unless a :max_age is specified.

On investigation, this is talking about the validity of the signature, not of the cookie itself. I attempted to clarify that :max_age of the cookie is unset by default, which produces a session cookie.

image

@josevalim josevalim merged commit 63ddce3 into elixir-plug:main Jan 20, 2023
@josevalim
Copy link
Member

💚 💙 💜 💛 ❤️

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