I got a cookie being set in the response header, however my browser doesn't store the cookie. The front-/back-end components run on localhost:8080/8082 respectively.
Using node
v5+, express
v4+ and tried both connect-mongo
/connect-redis
Chrome v. 52.0.2743.82
Even though Chrome is supposed to play nicely with cookies from domain=localhost
for quite some time now, I still tried to create a PTR in the /etc/hosts
file like 127.0.0.1 local.com
, no difference.
Here is the set of header fields that I see in the response:
I tried disabling httpOnly
flag, still the same.