<?php
session_start();
if ($_GET["argument"]=='logOut'){
unset($_SESSION['username']); // where $_SESSION["nome"] is your own variable. if you do not have one use only this as follow **session_unset();**
session_unset();
session_destroy();
session_unset();
session_destroy();
// $host = $_SERVER['HTTP_HOST'];
// $link = "ind";
echo "OK";
}
?>