Mi risulta difficile credere che ti cambi session_id ai vari cambi pagina:
Prova queste due:
index.php
codice:
<?php
session_start();
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Documento senza titolo</title>
</head>
<body>
Session ID: <span style="color:ff0000:"><?php echo(session_id()); ?></span>
</p>
Cambia pagina
</p>
</body>
</html>
pagina2.php
codice:
<?php
session_start();
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Documento senza titolo</title>
</head>
<body>
Session ID: <span style="color:ff0000:"><?php echo(session_id()); ?></span>
</p>
Cambia pagina
</p>
</body>
</html>
Comunque quel che ti suggerisce dottwatson è da implementare: meglio salvare a database che inviare via email (non che non lo debba fare, ma ti conviene salvare l'ordine in database per ogni evenienza, e quindi inviare l'email).
Saluti.