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

Why is there set-cookie in every response? #214

Open
RookieGz opened this issue Aug 25, 2021 · 2 comments
Open

Why is there set-cookie in every response? #214

RookieGz opened this issue Aug 25, 2021 · 2 comments

Comments

@RookieGz
Copy link

Even though there is a cookie in the request, there is a set-cookie in each response.
Why not only set-cookie in the first response?
Thank you;
this my koa-session config:

截屏2021-08-25 19 09 14

@RookieGz
Copy link
Author

and
截屏2021-08-26 10 01 27

@momocow
Copy link

momocow commented Oct 10, 2021

FYI,

rolling: false,
/** (boolean) Force a session identifier cookie to be set on every response.
The expiration is reset to the original maxAge, resetting the expiration
countdown. (default is false) */

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

No branches or pull requests

2 participants