apache - HTTP Post request get cancelled after 2 minutes and process is working -
my problem is:
http request gets cancelled after 2 minutes server side processing still continues.
i have large data processing , database contains huge data.so using normal form submit method processing screen , when checked browser console request status becomes cancelled.but on server process continuing after request cancelling.also when request cancelled file wil downloaded automatically cannot opened,also file extension not there.i have made maximum execution time limit unlimited using
set_time_limit(0);
,but didnt changed situation.in code have writted code write contents file.so after request gets cancelled file writing operation continues.i trying resolve error didnt find solution.please me. using apache server.
screenshots process doing:
1.selecting large number of data table contains large number of data. 2.checks whether each record matches certian conditions 3.matching records written file , file report generation 4.allowing user download file after process completion.
i have heared if client did'nt recive response after particular time cancel request server.is issue me.if how can resolve it.?
php doesn't find out request cancelled until tries send data client. should able resolve doing @ regular intervals:
echo ' '; flush();
this end script if ignore_user_abort false.
Comments
Post a Comment