Q. Which method sets a cookie?

A
res.cookie()
B
app.cookie()
C
res.setCookie()
D
app.set()
Solution:

res.cookie() sets a cookie in the response.

Entri PDF Icon

Get Question Bank

Strengthen Your Practice with our comprehensive question bank.

Entri Contact Image

Get Expert Advice for Free: Register for Your Free Consultation Now!