fnReloadAjax and 404 or 403 error

fnReloadAjax and 404 or 403 error

mathiemathie Posts: 36Questions: 0Answers: 0
edited April 2010 in General
Hello,

I checked and can see that fnReloadAjax does not return any value, which could be useful to determine the status of the reload.

For example, I have a datatable that keeps loading fresh data, but only for signed-in users. If signed out, the server returns 403 error and I would like datatable to stop the stream of requests. But I don't see how to determine the HTTP code from the AJAX request via DataTables API. Is this possible?

Thanks
This discussion has been closed.