We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Nuxt 3.10.3 with Nitro 2.9.1 Node 20.10.0
setCookie(e, 'session', '123', { httpOnly: true }) // ... setCookie(e, 'session', '123', { httpOnly: true, maxAge: /* 1m */ 60 * 60 * 24 * 30 })
will actually set cookie twice:
set-cookie: session=123; Path=/; HttpOnly set-cookie: session=123; Max-Age=2592000; Path=/; HttpOnly
No response
The text was updated successfully, but these errors were encountered:
send only the last value, or merge the session options would be more reasonable.
Sorry, something went wrong.
Issues with merging cookies will be solved in upcoming h3 v2
set-cookie
Successfully merging a pull request may close this issue.
Environment
Nuxt 3.10.3 with Nitro 2.9.1
Node 20.10.0
Reproduction
Describe the bug
will actually set cookie twice:
Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered: