<?php ob_start(); session_start(); session_unset(); $_SESSION['success']="Successfully logged out..."; header('LOCATION:login.php');