<?php
/*******************************************************************************
* filename : infses.php
* last change : 2006 - 08 - 08
*
* http://www.avesan.it/
* Copyright 2006 Alberto Santoro
*
* PMbyAS is free software; you can redistribute it and/or modify
* it under the terms of the GNU General public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
******************************************************************************/
// funzione per stampare i valori di sessione
function stampa($elemento, $chiave)
{ print " $chiave. $elemento<br />\n"; }
// parametri fissi per la connessione
include "./_fcom/fconn.php";
session_start();
// inclusione della testata HTML
include "./_fcom/doctype.php";
print "<div class=\"cpd\"><br />";
$xx_sess = session_encode();
$pm_sess = explode(";", $xx_sess);
print("<h3>Informazioni sulla sessione</h3>\n");
print("Nome e ID: " . session_name() . "\n");
print("; " . session_id() . "<br/>\n");
print("Modulo e sessione: " . session_module_name() . "<br/>\n");
print("parametri di sessione:<br/>\n");
array_walk($pm_sess, 'stampa');
print "<br/></div>";
$psw = $_SESSION['pswute'];
$pswe = md5($psw);
?>
</body>
</html>