|  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: 2018-10-31 14:02 UTC
Avg. Score:4.5 ± 0.9
Reproduced:13 of 13 (100.0%)
Same Version:5 (38.5%)
Same OS:5 (38.5%)
From: love at sickpeople dot se Assigned: cmb (profile)
Status: Closed Package: Session related
PHP Version: Next Minor Version OS:
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: love at sickpeople dot se
New email:
PHP Version: OS:


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

See also for adding this flag to setcookie().

Update to RFC 6265 regarding SameSite (draft):

SameSite is currently supported by Chrome and Opera:


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2017-09-14 17:50 UTC]
Note that there is already a respective RFC (targetting PHP 7.3.0)
in voting phase: <>.
 [2018-10-31 14:02 UTC]
-Status: Open +Status: Closed -Assigned To: +Assigned To: cmb
 [2018-10-31 14:02 UTC]
The mentioned RFC has been accepted and implemented, so this
ticket can be closed.
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Fri Jan 27 23:05:53 2023 UTC