Files
expressjs.com/_includes
Sebastian Beltran 8c1e4b39a2 docs: update res.clearCookie documentation for clarity and accuracy (#2000)
Improve the message by expanding on how the cookie is cleared, and
include a note about the deprecation of the `max-age` and `expires`
options: in Express 4 they are still respected (not ignored), whereas in
Express 5 they are ignored.

ref: https://github.com/expressjs/express/pull/5792
ref: https://github.com/expressjs/express/issues/5640
ref: https://github.com/expressjs/express/pull/5672

closes: https://github.com/expressjs/expressjs.com/issues/1146

Note: We need to manage changes more effectively. Whenever there are
changes, and once they have been released, a PR should be opened here to
update the documentation. Improving these processes will help us keep
our documentation better maintained.

Signed-off-by: Sebastian Beltran <bjohansebas@gmail.com>

Co-authored-by: ShubhamOulkar <91728992+ShubhamOulkar@users.noreply.github.com>
2025-08-15 16:29:10 -05:00
..
2025-08-01 19:47:30 -05:00
2025-08-01 19:47:30 -05:00