Register_Shutdown_Function happens before shutdown

From: Date: Tue, 19 Jun 2001 01:15:26 +0000
Subject: Register_Shutdown_Function happens before shutdown
Groups: php.dev 
Request: Send a blank email to php-dev+get-56744@lists.php.net to get a copy of this message
In theory (at least IMHO), this function should be used to register functions to finish up after the client has detached from the server. This way, time consuming tasks like logging, closing connections, sending e-mail, or whatever can be done *after* the client is happily surfing to their next page. However, I have tested Register_Shutdown_Function as much as I can locally, and no matter what I try... I have to wait until my shutdown functions are done before I see the page, get redirected, or whatever. This is bug or a feature? Or am I a dummy? -Brian Tanner

« previous php.dev (#56744) next »