I'd like to initiate a php script using a standard httpd request, but
then allow the client browser to disconnect without terminating the
script. Freeing up the browser to access other functions on the site.
Whilst a combination of connection_time out() and ignore_user_abo rt()
can stop the script from terminating when the client calls
termination, i'd like to terminate the clients connection rather than
having to wait for the client to do it.
i.e.
<?
echo "Cleanup initiated";
return_control_ to_client_brows er_as_if_script _terminated();
run_verylong_du ll_cleanup_util ity_client_need _not_know_about ():
?>
then allow the client browser to disconnect without terminating the
script. Freeing up the browser to access other functions on the site.
Whilst a combination of connection_time out() and ignore_user_abo rt()
can stop the script from terminating when the client calls
termination, i'd like to terminate the clients connection rather than
having to wait for the client to do it.
i.e.
<?
echo "Cleanup initiated";
return_control_ to_client_brows er_as_if_script _terminated();
run_verylong_du ll_cleanup_util ity_client_need _not_know_about ():
?>
Comment