I’ve this undertaking with a guardian web page on one area that features an iframe on one other area.
Inside this iframe I wish to move session information. This implies:
index.php known as inside an iframe and session information is about
request.php known as with XHR inside the similar iframe and similar area
Now, on iOS, request.php doesn’t get the session variables although the complete factor is contained inside that iframe.
Is there a method to configure session variables to be handed.
It really works on every other machine and it really works if the guardian area is similar because the iframes area. It appears to be an iOS particular factor.
I’ve tried completely different configurations of header settings, session settings, cookie settings like:
header("Entry-Management-Enable-Origin: EXAMPLE");
header("Entry-Management-Enable-Strategies: GET, POST, OPTIONS");
header("Entry-Management-Enable-Headers: Content material-Sort, Authorization");
header("Entry-Management-Enable-Credentials: true");
header("X-Body-Choices: ALLOW-FROM EXAMPLE");
header("Content material-Safety-Coverage: frame-ancestors 'self' EXAMPLE");
and
session_set_cookie_params([
'lifetime' => 0, // Session cookie
'path' => "https://stackoverflow.com/",
'domain' => EXAMPLE, // Replace with your domain
'secure' => true, // Only send cookie over HTTPS
'httponly' => true, // Prevent JavaScript access to cookies
'samesite' => 'None' // Allow cross-site cookie
]);

