WPIntell

Source evidence

internet explorer

SameSite Cookies · support · 2021-03-09T07:06:00+00:00

complaintsentiment
mediumseverity
0.81relevance
1replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

6 / 32 rows with source links

18.8% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

26 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
md021 unresolved
hi Seems not to work with internet explorer 11. Not able to log in, returns to login page. Yes I have the same issue in mobile edge. I think it is could the cookies are being constructed. I updated the code as follows but you need PHP 7.3: function samesite_setcookie($name, $value, array $options) { setcookie($name, $value, $options); $_COOKIE[$name] = $value; /* $header = 'Set-Cookie:'; $header .= rawurlencode($name) . '=' . rawurlencode($value) . ';'; if (!empty($options['expires']) && $options['expires'] > 0) { $header .= 'expires=' . \gmdate('D, d-M-Y H:i:s T', (int) $options['expires']) . ';'; $header .= 'Max-Age=' . max(0, (int) ($options['expires'] - time())) . ';'; } $header .= 'path=' . rawurlencode($options['path']). ';'; $header .= 'domain=' . rawurlencode($options['domain']) . ';'; if (!empty($options['secure'])) { $header .= 'secure;'; } $header .= 'httponly;'; $header .= 'SameSite=' . rawurlencode($options['samesite']); header($header, false); $_COOKIE[$name] = $value; */ }

Comments

1 shown
ssandison 2021-07-15T17:01:00+00:00

Yes I have the same issue in mobile edge. I think it is could the cookies are being constructed. I updated the code as follows but you need PHP 7.3: function samesite_setcookie($name, $value, array $options) { setcookie($name, $value, $options); $_COOKIE[$name] = $value; /* $header = 'Set-Cookie:'; $header .= rawurlencode($name) . '=' . rawurlencode($value) . ';'; if (!empty($options['expires']) && $options['expires'] > 0) { $header .= 'expires=' . \gmdate('D, d-M-Y H:i:s T', (int) $options['expires']) . ';'; $header .= 'Max-Age=' . max(0, (int) ($options['expires'] - time())) . ';'; } $header .= 'path=' . rawurlencode($options['path']). ';'; $header .= 'domain=' . rawurlencode($options['domain']) . ';'; if (!empty($options['secure'])) { $header .= 'secure;'; } $header .= 'httponly;'; $header .= 'SameSite=' . rawurlencode($options['samesite']); header($header, false); $_COOKIE[$name] = $value; */ }