express-session? the official document is translated literally in this way
< hr >: force session to be saved to session store. Even if the session is not modified in the request. But this is not necessarily necessary if the client has
sessionsesion
true,defaultfalse
storeresavestoretouch(sessionsession storesession )resave:false,touchstoresessionresave:true
< hr >
my understanding is that a client has two requests. The first request modifies the session and the second does not change, so the first modified session is overwritten and the result is that the session is not modified.