mirror of
https://github.com/expressjs/expressjs.com.git
synced 2026-02-21 19:41:33 +00:00
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>