How to tell PHP to use SameSite=None for cross-site cookies?

后端 未结 6 969
刺人心
刺人心 2020-12-16 13:20

According to the article here https://php.watch/articles/PHP-Samesite-cookies and PHP documenation at https://www.php.net/manual/en/session.security.ini.php, There are only

6条回答
  •  难免孤独
    2020-12-16 13:40

    Bad:

    session.cookie_samesite=None
    

    Correct:

    session.cookie_samesite="None"
    

    Explanation here

提交回复
热议问题