Last active
September 4, 2018 13:56
-
-
Save bohwaz/f7c7cc08fa11399f485be3e65f19a4f4 to your computer and use it in GitHub Desktop.
PHP setcookie function polyfill with support for SameSite attribute (compatible with PHP 5.0+)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi! Thanks for your code!
Used it beacause the setcookie-hack via. $path stops working in php 7.3
I had 2 problems:
/
with%2F
https://gist.github.com/tivus/1347934f782bd2b1e261493615b5444f