Reputation: 904
When performing a heavy duty task, like removing all data from a database by tables or similar, is it possible to return a partial response of an ajax request to indicate current status of the task?
For example if I had 5 tables in a database and run queries to delete data from those tables one by one, is it possible to send a status message after deleting data from each table by json or some other way?
Upvotes: 0
Views: 276
Reputation: 2340
The server can't respond you a partial
response at least you were working with sockets or something like that which is not the case because you're using ajax.
Upvotes: 1