Hi,
I have the following in one of my controllers
res.cookie('myt_user', user._id, {maxAge: 900000, httpOnly: false });
Unfortunately it seems to be set as a session cookie because I can read it from a page served on my domain in the same session, but not from an script hosted on my domain hosted but executed in another domain.
meaning if I have a script hosted on
http://example.comand it is referenced in the html of
http://example.orgI want to be able to read the cookies I have set from
example.com before in my script.
Thanks,
Bryan Rasmussen