Close browser session while CGI is still active
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
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.
--
Steve Swift
http://www.swiftys.org.uk
[Index of Archives]
[Open SSH Users]
[Linux ACPI]
[Linux Kernel]
[Linux Laptop]
[Kernel Newbies]
[Security]
[Netfilter]
[Bugtraq]
[Squid]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Samba]
[Video 4 Linux]
[Device Mapper]