Hi All,
I'm trying to work out how to close the connection to the browser at a
defined point within my code, but go on to do some time-consuming
processing with PHP.
Although it *should* be possible to do this by moving the slow stuff into a
function registered with register_shutdown_function, it appears that in
many cases, the connection is not closed before calling the shutdown
function - there are also issues with calling other functions from the
registered function.
I can't close stdout since I don't have a handle for it.
While I can get the desired result by creating a sort of 'proxy' which posts
on to the real script without waiting for the latter to finish this will be
rather difficult to implement in the operational context.
TIA,
C.