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

Cookies Having Independent Partitioned State (CHIPS, also know as Partitioned cookies) #151

Closed
yaverin opened this issue Oct 6, 2023 · 2 comments

Comments

@yaverin
Copy link

yaverin commented Oct 6, 2023

Hi! Please let me know, how can I set Partitioned flag for my cookies in NodeJS/Express application via "cookies" module?
Thanks in advance!

CHISP description:

@yaverin yaverin changed the title CHIPS (Cookies Having Independent Partitioned State) Cookies Having Independent Partitioned State (CHIPS, also know as Partitioned cookies) Oct 6, 2023
@shoyuf
Copy link

shoyuf commented Oct 20, 2023

I think this needs a pull request.

@matt-neal
Copy link

#152 PR created.

There is technically a way to work around the header not allowing partitioned by creating a utility file that overloads the toHeader function that adds the if (this.partitioned ) header += '; partitioned'; bit. Obviously, the overloaded function is not tested and I cannot guarantee that it will work in the ways you need, but it is a possibility due to the way the library is built.

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

No branches or pull requests

3 participants