next-session icon indicating copy to clipboard operation
next-session copied to clipboard

Memory store not working with npm run dev

Open AtulGargMT opened this issue 2 years ago • 1 comments

When we run the next-session with default memory store in npm run dev mode. This refresh the memory on every page hit as nextjs recompiles the app and the session is not maintained. It works in npm run build mode though.

AtulGargMT avatar Mar 24 '22 11:03 AtulGargMT

I'm running into the same issue as well. Trying to read from the session in two different API routes results in undefined

mryechkin avatar Sep 28 '22 21:09 mryechkin