We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 27cabb6 commit ac12a58Copy full SHA for ac12a58
src/SessionRetriever.php
@@ -46,6 +46,7 @@ public function retrieve(): array
46
ini_set('session.cookie_domain', $this->domain);
47
ini_set('session.cookie_secure', (string) $this->secure);
48
ini_set('session.cookie_httponly', '1');
49
+ ini_set('session.cookie_samesite', 'Lax');
50
51
// When AWS Elasticache DNS resolution fails, PHP throws an error
52
// session_start(): php_network_getaddresses: getaddrinfo failed: Name or service not known
0 commit comments