I have a CakePHP controller action which can take up to 15 minutes to run.
I have set PHP's time_limit to accomodate that and the script runs OK.
The problem my client is facing is that the script does not provide any return, as it seems that the BROWSER (Firefox on most cases) times out the request, since the script won't provide any output before it finishes. I can confirm the script ran properly, because it encompasses a major INSERT at the end of it, and I can verify this from MySQL, but it fails to render the result page.
What can I do in these cases? Does CakePHP provide a way to flush partial responses to avoid browser timeout (assuming this is case...)?
Any other hints of what may be happening?
Thanks!