codice:
<?php 
    session_start();
    $_SESSION = array(); 
    session_destroy(); 
    header("Refresh: 4; URL=index.php"); 
?>