concept outgoing cookie in category node

appears as: outgoing cookies
Node.js in Action, Second Edition

This is an excerpt from Manning's book Node.js in Action, Second Edition.

The cookie-parser module doesn’t provide any helpers for setting outgoing cookies. For this, you should use the res.setHeader() function with Set-Cookie as the header name. Connect patches Node’s default res.setHeader() function to special-case the Set-Cookie headers so that it just works, as you’d expect it to.