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

Memory store not working with npm run dev #361

Open
AtulGargMT opened this issue Mar 24, 2022 · 1 comment
Open

Memory store not working with npm run dev #361

AtulGargMT opened this issue Mar 24, 2022 · 1 comment

Comments

@AtulGargMT
Copy link

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.

@mryechkin
Copy link

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

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