Shimon Rura wrote:
>
> I'd like to be able to tell apache to close off its connection with the
> client but leave the script running. An example use would be for the client
> to start a time-consuming job on the web server, and let it run without
> subjecting them to a spinning wait icon for 10 minutes. Also, and perhaps
> more importantly, I'd like to be able to run the script knowing that it
> won't be interrupted if the client presses their STOP button. Is there a
> way to do this from mod_perl and/or Apache::ASP?
>
> This feature is implemented in AOLserver API with the "ns_conn close"
> command.
>
Try the ASP $Server->RegisterCleanup(), which is an alias
for Apache->register_cleanup(), to execute things after output
is sent to the client.
-- Joshua