$tmp = $_SESSION['variable_de_usuario']; $_SESSION = array(); # elimina el contenido de $_SESSION $_SESSION['variable_de_usuario'] = $tmp;