Connect

cookieDecoder

The cookieDecoder middleware parses the Cookie header when present, and populates req.cookies:

connect.createServer(
    connect.cookieDecoder()
]);

See Also