la starto nel file di index:
Codice PHP:
<? include_once ('./script_php/common_script.php'); session_start(); $phpsession session_id(); ?> <!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" lang="it">     <head>         <title>.:: E.G.A. 2008 Web Application - Elenco.Generale.Attivita' Web ::.</title>         <meta http-equiv="Content-Type" content="text/html; charset=utf-8">         <link href="css/egawebstyles.css" rel="stylesheet" media="screen" type="text/css"/>         <script type="text/javascript" src="script_js/common_script.js"></script>     </head>     <body leftmargin="0" topmargin="0" bgcolor="#ffffff" marginheight="0" marginwidth="0"><center/>         <table class="frame" bgcolor="#ffffff" border="0" cellpadding="0" cellspacing="0" height="580" width="100%">         <tbody>                 <?                  callSezione('includephp/banner.php');                 ?>             <tr>                 <td class="text_pagine">                         <center>[b]Sto facendo il redirect sulla pagina di Logon[/b]</center>                  </td>             </tr>             <?                          refresh("php/ega.php?phpsessid=$phpsession&pagina=logon",4);             ?>                              <?                 callSezione ('includephp/footer.php')                 ?>         </tbody>       </table>         </body> </html>
e poi include_session:
Codice PHP:
<? #session_start();  #Path Url   #Dati Connessione per Descr Errore $connection = $_SESSION['Connection'];  $db_name = $_SESSION['DB_Name'];  #Menu $menudhtml = $_SESSION['MenuDHTML']; #Dati di Riepiologo $anagrafica = $_SESSION['Anagrafica']; $username = $_SESSION['Username'];   #Carico i dati in Sessione per la query di menu  $matricola = $_SESSION['Matricola']; $profilo = $_SESSION['Profilo']; $cdc = $_SESSION['CDC']; $egasett = $_SESSION['EgaSett'];   $lingua = $_SESSION['Lingua']; ?>