Pass $_SESSION to iframe
Posted: Thu Jan 06, 2022 2:13 pm
My Phoenix site is anything but your typical shop and I now have a need to pass session variables to an iframe that loads another page.
I've read it can be fixed by adding
before session_start() only that doesn't exist as such.
I'm using CE Phoenix v1.0.8.5 if that's important
I've read it can be fixed by adding
Code: Select all
ini_set('session.cookie_samesite', 'None');
@ession_set_cookie_params(['samesite' => 'None', 'secure' => true]);I'm using CE Phoenix v1.0.8.5 if that's important