session icon indicating copy to clipboard operation
session copied to clipboard

Why is there set-cookie in every response?

Open RookieGz opened this issue 4 years ago • 2 comments

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 avatar Aug 25 '21 11:08 RookieGz

and 截屏2021-08-26 10 01 27

RookieGz avatar Aug 26 '21 02:08 RookieGz

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) */

momocow avatar Oct 10 '21 16:10 momocow