PHP 8.6 Finally Turns On the Session Settings You Were Told to Set in 2006
- Created
- 19 Nov 2026
- Last reply
- about 4 hours ago
- Replies
- 0
- Views
- 0
- Reactions
- 0
Discussion of the blog article PHP 8.6 Finally Turns On the Session Settings You Were Told to Set in 2006.
Every PHP hardening guide for two decades has told you to flip the same three session settings. PHP 8.6, due November 19, 2026, flips them for you: strict mode on, HttpOnly on, SameSite set to Lax.
Discussion thread — share findings, corrections and follow-ups below.