Last active
October 26, 2022 12:45
-
-
Save cmbuckley/609c2ed0bbebbbbb569bb81ebedc7abd to your computer and use it in GitHub Desktop.
Test script for https://stackoverflow.com/q/18492576
I updated for SameSite support, which was dependent on upgrading to PHP 7.3+
Now hosted at https://setcookie.net, and maintained at https://github.com/cmbuckley/setcookie.net.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You might want to allow __Host- and __Secure- prefix in the pattern, as well as SameSite attribute.