Added docs for res.cookie partitioned option#1456
Merged
crandmck merged 1 commit intoexpressjs:gh-pagesfrom Mar 4, 2024
Merged
Added docs for res.cookie partitioned option#1456crandmck merged 1 commit intoexpressjs:gh-pagesfrom
crandmck merged 1 commit intoexpressjs:gh-pagesfrom
Conversation
wesleytodd
approved these changes
Mar 2, 2024
| | `httpOnly` | Boolean | Flags the cookie to be accessible only by the web server. | ||
| | `maxAge` | Number | Convenient option for setting the expiry time relative to the current time in milliseconds. | ||
| | `path` | String | Path for the cookie. Defaults to "/". | ||
| | `partitioned` | Boolean | Indicates that the cookie should be stored using partitioned storage. See [Cookies Having Independent Partitioned State (CHIPS)](https://developer.mozilla.org/en-US/docs/Web/Privacy/Partitioned_cookies) for more details. |
Member
There was a problem hiding this comment.
I think I read each line correctly, but this is the only changed line right?
Contributor
Author
There was a problem hiding this comment.
Yeh sorry it is, trying to keep the table readable vs minimal commits 🙈
Member
There was a problem hiding this comment.
No worries, just making sure I didn't miss something 😆
wesleytodd
approved these changes
Mar 2, 2024
UlisesGascon
approved these changes
Mar 3, 2024
sheplu
approved these changes
Mar 4, 2024
15 tasks
krzysdz
added a commit
to krzysdz/expressjs.com
that referenced
this pull request
Apr 24, 2025
krzysdz
added a commit
to krzysdz/expressjs.com
that referenced
this pull request
Apr 25, 2025
expressjs#1456 Co-authored-by: Rich Hodgkins <rhodgkins@gmail.com>
bjohansebas
pushed a commit
that referenced
this pull request
May 1, 2025
* Include 4.18 API doc updates in 5.x 5c98ee4 Co-authored-by: Douglas Christopher Wilson <doug@somethingdoug.com> * Copy acceptsLanguages documentation improvements to 5.x #1402 Co-authored-by: Jon Ege Ronnenberg <jon.ronnenberg@gmail.com> * Add warning boxes to {app,res}.render 5e918ea Co-authored-by: Douglas Christopher Wilson <doug@somethingdoug.com> * Copy warning around securing locals to 5.x fcaca7f Co-authored-by: Douglas Christopher Wilson <doug@somethingdoug.com> * Copy res.cookie `partitioned` option docs #1456 Co-authored-by: Rich Hodgkins <rhodgkins@gmail.com> * Update req.body to point to built-in middleware a5ca5b0 Co-Authored-By: Douglas Wilson <doug@somethingdoug.com> * Copy setting multiple cookies example to 5.x #1063 Co-Authored-By: Mo <hematy61@gmail.com> --------- Co-authored-by: krzysdz <krzysdz@users.noreply.github.com> Co-authored-by: Douglas Christopher Wilson <doug@somethingdoug.com> Co-authored-by: Jon Ege Ronnenberg <jon.ronnenberg@gmail.com> Co-authored-by: Rich Hodgkins <rhodgkins@gmail.com> Co-authored-by: Mo <hematy61@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
See expressjs/express#5404