codice:
<?php
session_start();
$_SESSION = array();
header ("location: mainlogin.php");
?>