php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #73454 Add INI session.cookie_samesite
Submitted: 2016-11-03 16:04 UTC Modified: -
Votes:12
Avg. Score:4.8 ± 0.6
Reproduced:9 of 9 (100.0%)
Same Version:5 (55.6%)
Same OS:5 (55.6%)
From: love at sickpeople dot se Assigned:
Status: Open Package: Session related
PHP Version: Next Minor Version OS:
Private report: No CVE-ID:
Have you experienced this issue?
Rate the importance of this bug to you:

 [2016-11-03 16:04 UTC] love at sickpeople dot se
Description:
------------
Add an INI for configuring the SameSite flag on cookies set by Session.

See also https://bugs.php.net/bug.php?id=72230 for adding this flag to setcookie().

Update to RFC 6265 regarding SameSite (draft): https://tools.ietf.org/html/draft-ietf-httpbis-cookie-same-site-00

SameSite is currently supported by Chrome and Opera: http://caniuse.com/#feat=same-site-cookie-attribute


Patches

Add a Patch

Pull Requests

Add a Pull Request

 
PHP Copyright © 2001-2017 The PHP Group
All rights reserved.
Last updated: Fri Jun 23 01:01:38 2017 UTC