title: How to tell PHP to use SameSite=None for cross-site cookies?
body: <p>According to the article here <a href="https://php.watch/articles/PHP-Samesite-cookies" rel="noreferrer">https://php.watch/articles/PHP-Samesite-cookies</a> and PHP documenation at <a href="https://www.php.net/manual/en/session.security.ini.php" rel="noreferrer">https://www.php.net/manual/en/session.security.ini.php</a>, There are only 2 possible config options for this new feature, added in PHP 7.3:</p>
  
  <ol>
  <li>session.cookie_samesite=Lax</li>
  <li>session.cookie_samesite=Strict</li>
  </ol>
  
  <p>Yet, according to the Chrome console, this needs to be set to "None":</p>
  
  <blockquote>
    <p>A cookie associated with a cross-site resource at URL was set without the <code>SameSite</code> attribute. It has been blocked, as Chrome now only delivers cookies with cross-site requests if they are set with <code>SameSite=None</code> and <code>Secure</code>. You can review cookies in developer tools under Application>Storage>Cookies and see more details at URL and URL.</p>
  </blockquote>
  
  <p>Because of this, I can no longer set cross-site cookies. What is the workaround?</p>