httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joshua Slive" <>
Subject Re: [users@httpd] Close browser session while CGI is still active
Date Fri, 24 Nov 2006 14:07:21 GMT
On 11/24/06, Steve Swift <> wrote:
> Can a CGI script close the session with the browser before it exits?
> I tried closing STDOUT and STDERR in the hope that Apache might notice, and
> clean up the session, but the browser remained waiting.
> I have a CGI script that send its page to the browser then has a "batch" job
> to do, which takes several minutes.
> At the moment I'm handling it by creating a detached task to run the batch
> portion but since the batch process requires access to the variables that
> built the HTML page it would be much simpler if I could manage it in one run
> of the CGI script.


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message