This repository has been archived by the owner on Dec 12, 2023. It is now read-only.
Is it by design that the session during the first server processing is not saved in storage? I'm guessing it's a bug. #89
Labels
question
Further information is requested
Ask your question
The following conditions occur:
・There is a cookie that holds the session ID set in the HTTP request.
・The session on the server no longer exists on the storage
・Initial server access
During server processing,
event.context.session.user = { name: 'abc' }
is set to the session, but it is not saved on the server's storage.The results of debugging index.mjs are below.
The $1 comment line above is output as null, so it seems that the storage is not saved.
When I debug the getSession function, I see that the getCurrentSessionId function returns null.
The output content of the $2,3 comment line above is as follows.
The version I'm using is below.
"@sidebase/nuxt-session": "^0.2.7"
Additional information
No response
The text was updated successfully, but these errors were encountered: