function destruirSesion() {
    $.ajax({
        type: "POST",
        url: "controlador/loginDestruir.php",
        data: (
            ''
        ),
        beforeSend: function() {},
        success: function(respuesta) {
            // $('#respuesta').html(respuesta);
            if (respuesta == 1) {
                window.location = "login";
            }
        }
    })
}