I have an iFRAME that is on a page that is not on the same domain. I am trying to pass the session id via url. I set the url such like….
applyonline.php?session_id=3u8ob97d5e3h35povbnuraih22
Then I read that session id in with…
$session_id = $_GET['session_id'];
session_id($session_id);
I’ve tried setting these with no avail…
ini_set('session.use_cookies', '0');
ini_set('session.use_trans_sid', '1');
I’ve googled this like crazy and cannot find a solution that works for me.
BTW Firefox works fine because it accepts 3rd party cookies in the iFRAME, IE is the problem.
use
?PHPSESSID=argument instead.The cleanest way to do it is described in the docs: