i am with Sandy ... but i think you are not sending your Logging
Request to a zerobyte file but to the logging Script? So it is up to
you / the script what or even IF there is a return or just a status
header like (in PHP)

<?php
    header('HTTP/1.1 204 No Content');
    exit(0);
?>

Playing russian roulette with the http connection status from within
your XHR Request is by far the last way to focus on ...

On 16 Jan., 20:16, Sanford Whiteman <sa...@figureone.com> wrote:
> > The files actually exist on the server. I just don’t want to use the
> > bandwidth  to  return the data. I have moved files into the cloud to
> > reduce  my  datacentre  bandwidth costs but i still want to keep the
> > logging happening on the server
>
> I  can't think of a worse, less meaningful/reliable choice for logging
> than  what  you've  described  -- playing a guessing-game with an HTTP
> connection.
>
> Send  a  request to a zero-length file (you can even send back a 204),
> passing  the logging data in the query string.
>
> -- S.

Reply via email to