Closed aebrs closed 5 years ago
I think there is a greater misunderstanding somewhere. This module does not take a domain option, or name option, or maxAge option (options are documented here https://github.com/expressjs/cookie-parser/blob/master/README.md#cookieparsersecret-options).
This module just
Parse Cookie header and populate req.cookies with an object keyed by the cookie names.
I don't know if it is a bug or question; Using Node.js/ Express/ cookie-parser, in back-end server sub-domain, I tried to set domain, but it seems impossible: 1- no effect:
2- This prevent even setting cookie: cookie not added to response
3- This add cookie with defauld url:
Is it a bug issue or bad coding? Thank you