Bug #78651 [NEW]: session.cookie_samesite missing the None option
| From: | jimmmaaayn at gmail dot com | Date: | Wed, 09 Oct 2019 00:06:00 +0000 |
| Subject: | Bug #78651 [NEW]: session.cookie_samesite missing the None option | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-223148@lists.php.net to get a copy of this message | ||
From: jimmmaaayn at gmail dot com
Operating system: All OS's
PHP version: 7.3.10
Package: *General Issues
Bug Type: Bug
Bug description:session.cookie_samesite missing the None option
Description:
------------
Setting session.cookie_samesite=None in php ini does not set attribute
of session samesite to None in order for it to work on third party sites
in the future. Browsers like Chrome are forcing no specified samesite to
be default Lax instead of None. See
https://www.chromium.org/updates/same-site
Also Note down that None requires secure cookie for chrome by 2020
Test script:
---------------
ini_set('session.cookie_samesite','None');session_start();
Expected result:
----------------
Session cookie should be set with the SameSite None attribute
Actual result:
--------------
Session cookie is not set with any Samesite Attribute
--
Edit bug report at https://bugs.php.net/bug.php?id=78651&edit=1
--
Fix committed: https://bugs.php.net/fix.php?id=78651&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=78651&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=78651&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=78651&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=78651&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=78651&r=support
Expected behavior: https://bugs.php.net/fix.php?id=78651&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=78651&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=78651&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=78651&r=globals
PHP version support discontinued: https://bugs.php.net/fix.php?id=78651&r=phptooold
Daylight Savings: https://bugs.php.net/fix.php?id=78651&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=78651&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=78651&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=78651&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=78651&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=78651&r=mysqlcfg