httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joshua Slive" <jos...@slive.ca>
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 <steve.j.swift@gmail.com> 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.

http://www.htmlhelp.com/faq/cgifaq.3.html#8

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message