script timeout

From: Date: Wed, 25 Apr 2007 09:27:01 +0000
Subject: script timeout
Groups: php.general 
Request: Send a blank email to php-general+get-253670@lists.php.net to get a copy of this message
Hi, I have a small sample-application, that uses smarty for the presentation layer. Unfortunately I might encounter script-timeouts (not necessarily from smarty, could also be the DB-connection or something). In this case I would like to return an appropriate HTTP status-code (might be 500 or something). Right now I just receive a blank page, as well as a HTTP status-code of 200, which would indicate that everything is OK! So what do I need to do? -- .... Gentlemen: Start your debuggers...

« previous php.general (#253670) next »