Re: connection_aborted() ?
| From: | Rasmus Lerdorf | Date: | Fri, 01 Feb 2002 05:51:01 +0000 |
| Subject: | Re: connection_aborted() ? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-83065@lists.php.net to get a copy of this message | ||
> can anone show me a good example how to use this function?
> I'm not really sure how it works
<?
ignore_user_abort(true);
if(connection_aborted()) {
...do something...
} else {
...do something else...
}
?>
it only makes sense to use if your turn off user aborts.
-Rasmus