Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added docs for res.cookie partitioned option #1456

Merged
merged 1 commit into from
Mar 4, 2024

Conversation

rhodgkins
Copy link
Contributor

| `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.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think I read each line correctly, but this is the only changed line right?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeh sorry it is, trying to keep the table readable vs minimal commits 🙈

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No worries, just making sure I didn't miss something 😆

@crandmck crandmck merged commit 727871c into expressjs:gh-pages Mar 4, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants