session_start(); $_SESSION["username"]="";//set variable to nothing session_destroy();//destroy session ?> You have logged out Back to index