-
Notifications
You must be signed in to change notification settings - Fork 80
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
Nuxt 3 Cookie Disappears on page reload #382
Comments
I have updated to version 1.10.1 and it's working already |
Thank you. I'll test it in the next few days and confirm. |
Happens the same on 1.12.0 |
i have the sme case.. is this problem fixed or not, if it fixe please tell me how to fix it..? |
The Problem is, that SSR overrides the cookie. Don't know how to circumvent that, but disabling SSR works for me. To disable SSR, just add / set |
thats cool but I can not disable ssr for all routes |
Same Problem still exists. Are there any workarounds ? Cookie wont get overriden while working on localhost. But if I switch to hosting on my ip address, the cookie will still get overridden on every page reload. Disabling ssr fixes the problem, but that really can't be the final solution here. |
On user login, the cookie gets set. However, on page refresh the cookie is deleted. Also, the expiry doesn't appear be to taking place. This is my nuxt.config. Any ideas.
On the following post they suggested upgrading strapi and nuxt, which i've tried, with the same outcome - #354
Version
@nuxtjs/strapi: 4.13.6
nuxt: 3.7.4
I have also tried setting manually after login, but no luck -
The text was updated successfully, but these errors were encountered: