Steve Fosdick wrote:
> 
> I have an application in which it would be useful to be able to send the
> output from a script to the web browser in such a way that the web browser
> views the output as being complete (and the script will not attempt so
> send any further output) but script execuation continues doing some
> further work in the background for a few seconds before it finishes.
> 
> I have looked at the documentation but can't see how to do this.  Is it
> possible, if so how please?
> 

Check out the $Server->RegisterCleanup() API, which acts much 
like Apache->register_cleanup() but that ASP objects are still defined.

  http://www.apache-asp.org/objects.html#%24Server-%3EReg38562b5d

The subs run during the RegisterCleanup() phase occur after the
connection is closed to the browser, which is different than
if you did a $Response->Flush() and run something at the end
of your script.

--Josh
_________________________________________________________________
Joshua Chamas                           Chamas Enterprises Inc.
NodeWorks Founder                       Huntington Beach, CA  USA 
http://www.nodeworks.com                1-714-625-4051

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to