Session in Iframe working in Firefox but not in In

2019-02-13 07:01发布

问题:

Im trying to get a form working in Internet Explorer. I see that when i submit this form in Firefox I can start a session and send my webbrowser to the right page based on that Session. In Internet Explorer however when i'm debugging the $_SESSION i retrieve an empty array back, this means that in Internet Explorer the session isn't started on my second page.

This is the code i'm using to print the session on my second page:

session_start();
 //unset($_SESSION['bp_email']);
 include("includes/_dbconnect.php");
 print_r($_SESSION);
 die();

回答1:

Please read this link, it will definitely help you.