cgi bg

cgi bg

Erez D erez0001 at gmail.com
Mon Aug 25 10:25:49 IDT 2014


hi

i have a php cgi scripts that
1. generates an http response , this takes less than a second
2. do some stuff that may take some time, lets say a minute

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.

i want the http transaction to be closed when done (i.e. less than a minute)
but the php script to continue it's action (e.g. the minute it takes)

can i do it in php ? i.e. flush, or send eof, which will finish the request
but leave the php running until done ?


thanks
erez
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.cs.huji.ac.il/pipermail/linux-il/attachments/20140825/8f3cec66/attachment.html>


More information about the Linux-il mailing list