I have a problem with iframes and session.
I cannot start a session within the iframe.
If I start a session it gives an error and the page (the iframe) will not be displayed.
I run the following situation:
In the main page I start the session like this:
<?
session_id($SN);
session_start();
?>
and I call the file for the iframe as below:
...<iframe src="testIframe.php?SN=3894u3hhh..."></iframe>...
Now, in the iframe I would like to start the session again. But it returns an error. The page cannot be displayed.
The session start sequence is:
<?
session_id($SN);
session_start();
?>
Thanks for your help.