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 5e03d3c commit fe44f34Copy full SHA for fe44f34
app/code/core/Mage/Core/Model/Session/Abstract/Varien.php
@@ -106,6 +106,7 @@ public function start($sessionName = null)
106
'domain' => $cookie->getConfigDomain(),
107
'secure' => $cookie->isSecure(),
108
'httponly' => $cookie->getHttponly(),
109
+ 'samesite' => $cookie->getSameSite(),
110
];
111
112
if (!$cookieParams['httponly']) {
@@ -122,7 +123,7 @@ public function start($sessionName = null)
122
123
$cookieParams['domain'] = $cookie->getDomain();
124
}
125
- call_user_func_array('session_set_cookie_params', array_values($cookieParams));
126
+ session_set_cookie_params($cookieParams);
127
128
if (!empty($sessionName)) {
129
$this->setSessionName($sessionName);
0 commit comments