GoogleChromeLabs / samesite-examples

Examples of using the SameSite cookie attribute in a variety of language, libraries, and frameworks.
https://web.dev/samesite-cookies-explained
Apache License 2.0
366 stars 62 forks source link

Added code for session cookie #19

Closed sandeepscet closed 4 years ago

sandeepscet commented 4 years ago

PHP 7.3.0 introduced new attributes samesite for the session_set_cookie_params(). The developer can set with path for version older than PHP 7.3

rowan-m commented 4 years ago

Thanks!