si uso header location


Codice PHP:
session_start();
$_SESSION = array(); 
session_destroy();
header("Location: login.php");