Problem/Motivation
From https://symfony.com/blog/new-in-symfony-6-4-chips-cookies:
Browsers like Google Chrome will phase out support for third-party cookies starting from midway through 2024. The alternative is called CHIPS, which is the acronym of "Cookies Having Independent Partitioned State".
Browsers with CHIPS cookie support allow a new attribute called Partitioned when creating a cookie with the Set-Cookie HTTP header.
AFAIK it's not yet possible to add the partitioned attribute to the session cookie in Drupal, in Symfony this has been made available a while ago.
Proposed resolution
Make it possible to add the "Partioned" attribute to the session cookie:
Set-Cookie: cookie-name=cookie-value; SameSite=None; Secure; Path=/; Partitioned;