req.cookies
An object containing all of the unsigned cookies from this request (req
).
Usage
req.cookies;
Example
Assuming the request contained a cookie named "chocolatechip" with value "Yummy:
req.cookies.chocolatechip;
// "Yummy"
An object containing all of the unsigned cookies from this request (req
).
req.cookies;
Assuming the request contained a cookie named "chocolatechip" with value "Yummy:
req.cookies.chocolatechip;
// "Yummy"