doc-en icon indicating copy to clipboard operation
doc-en copied to clipboard

setcookie: Add note regarding SameSite=None and disabled Secure behavior

Open AllenJB opened this issue 3 months ago • 2 comments

Fixes #4873

AllenJB avatar Oct 11 '25 15:10 AllenJB

In this case fixing this instance would have created an inconsistency with the markup across rest of this file, so I've reviewed the whole file to make it consistent.

AllenJB avatar Nov 04 '25 09:11 AllenJB

I've fixed all the review issues, including CDATA indents and trailing whitespace.

Additionally, I changed the suggestion to consider explode() for setting multiple values in a single cookie to json_encode() as I think this is easier / less error prone to use correctly.

AllenJB avatar Dec 29 '25 12:12 AllenJB