What will be the possible ways to send multiple responses to the client side within a Ajax call.
Scenario
1.Import 200 records from excel through Ajax.
2.Read file record one by one.
3.On each iteration I need to send some data to client side and get it back with some base 64 image on server side and then save that image into the database.
4.Do this for all the iterations.
5.After all iterations show Ajax success message.
How can I achieve this with in one Ajax request.