<div dir="ltr"><div><div><div><div><div><div><div><div><div>hi<br><br></div>i have a php cgi scripts that<br></div>1. generates an http response , this takes less than a second<br></div>2. do some stuff that may take some time, lets say a minute<br>
<br></div>when posting to that cgi, although the html is returned in less then a second, the request is not closed until the minute has passed.<br><br></div>i want the http transaction to be closed when done (i.e. less than a minute)<br>
</div>but the php script to continue it's action (e.g. the minute it takes)<br><br></div>can i do it in php ? i.e. flush, or send eof, which will finish the request but leave the php running until done ?<br><br><br></div>
thanks<br></div>erez<br></div>