Partitioned cookies (CHIPS)
Partitioned cookies are cookies with the Partitioned attribute. The browser keeps a separate copy of each one for each top-level site. CHIPS means Cookies Having Independent Partitioned State.
Cookie attribute
Also called CHIPS, Partitioned
Updated
On this page
Example
HTTP response header from https://widget.example
Set-Cookie: __Host-session=34d8g; SameSite=None; Secure; Path=/; Partitioned
On https://shop.example and on https://news.example, the widget gets two different cookies with this name.
How to set it
Add Partitioned and Secure to the cookie. Use the __Host- prefix unless subdomains must share the cookie.
Set-Cookie: __Host-session=34d8g; SameSite=None; Secure; Path=/; Partitioned
A partitioned cookie does not share a login with your main site. The user signs in once for each top-level site.
Learn more
Sources