-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
express-session compatibility issues #619
Comments
Hi @leaky
Please describe more your scenario. Thanks |
Hi @langpavel I've managed to fix this issue by adding Another incurring factor was that I had modified the Link component to perform I'm using react-starter-kit to trial-build an eCommerce store. |
@leaky You still cannot do feth from server because it still doesn't know credentials. For your second question please open new issue. Thanks! |
@langpavel what is the alternative to |
Do you using redux? |
@leaky Did you fix this problem with express-session? |
@leaky thank you very much for crating this issue! Unfortunately, we have close it due to inactivity. Feel free to re-open it or join our Discord channel for discussion. NOTE: The |
I've integrated express-session with hopes of using sessions to store user-specific data, however it seems that the session ID is not persisting at all when running the application in development mode on port 3000.
I have integrated express-session like so below:
req.sessionID
has a different value on every single request. If (still in development) I switch to port 5000 then the sessionID does seem to be persisting but there's no JS functionality on 5000.I thought that browsersync could have been the issue but after running
npm run build
and thennode build/server.js
the session ID is still not persisting, it only persists on 5000 in development.The text was updated successfully, but these errors were encountered: