RE: [PHP] sending reply, the continuing
| From: | Pablo Gosse | Date: | Fri, 20 Feb 2004 18:52:02 +0000 |
| Subject: | RE: [PHP] sending reply, the continuing | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-178384@lists.php.net to get a copy of this message | ||
Lucas Gonze wrote:
> I have a situation where I want to send a cached result back then
> recalculate the cache. This is necessary because it takes a long time
> to generate a page. Is there a way for me to return what the browser
> needs, then terminate the connection without stopping my script?
>
> Thanks in advance.
>
> - Lucas
If by terminate the connection you mean stop sending back information to
the browser, then perhaps you should look into output control functions:
http://ca3.php.net/manual/en/ref.outcontrol.php
HTH.
Pablo