Reputation: 450
I have created a session while user logged in my application. In login request response cookies are coming. But it's not getting saved in cookie store.
Regards, Kiran Gopal
Upvotes: 0
Views: 2702
Reputation: 450
I have disabled the web security in chrome. Now it's starts working.
chromium-browser --disable-web-security --user-data-dir
Upvotes: 1
Reputation: 81
If you are using express-session and http server rather than https, then set the secure option for cookie false
app.use(session({
secret: 'keyboard cat',
resave: false,
saveUninitialized: true,
cookie: { secure: false }
}))
Upvotes: 0