I'm using Jquery and php
I would like php to send a response to an ajax call and close the conection but without ending the script treatment on the server.
What i don't want is that the browser wait the end of the server-side script.
The script is used to generate a file on the server, wich takes a lot of time. The ajax call only initiate it and don't need to know the result of the script or wait until the end of it. I want to end the call for that the browser could just forget about it and consider it done.
1) ajax call 2) after checking the call (security and data sended) respond something like "Ok i'll do it". 3) let the script continue on server-side.
Is there a way to do this?