Skip to content

Glossary: Next.js Beyond the Basics

maxAge

A cookie option setting its lifetime in seconds. The kc_cart cookie uses 30 days, which is 2,592,000 seconds.

Where the book teaches it

Related terms

cookies()Cookie options (httpOnly, sameSite, secure)