Il s'agit en fait d'un module pour Joomla!. Mais j'ai fais un test en affichant les id de sessions dans la page 1 et la frame : résultat ce sont des id différents, il y a donc bien deux sessions différentes, et pourtant les pages sont sur le même serveur !
page 1 :
<?php // no direct access
defined('_JEXEC') or die('Restricted access');
echo session_id();
?>
<IFRAME src="./components/com_cadre/cadre/index.php" width=720 height=800 scrolling=auto frameborder=0 ></IFRAME>
index.php :
<?php
session_start();
echo session_id();
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" >
<head>
<title>Bienvenue sur mon site !</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<!-- Ci-dessous le design "par défaut" du site -->
<link rel="stylesheet" media="screen" type="text/css" title="normal" href="frame.css" />
</head>
<body>
<div id = "accueil" align = center>
<form action="./cadre.php" method="post" ENCTYPE="multipart/form-data">
<h1>Dimensions de la photo à imprimer :</h1>
<p>Largeur (cm) : <input type="text" id="larg" name="larg" value="" /><br>
<br>
<p>Hauteur (cm) : <input type="text" id="haut" name="haut" value="" /></p><br>
<input type=file name="image">
<br>
<br>
<input class=classbouton type="submit" value="" />
</form>
</div>
</body>
</html>