Re: Browser timeout
| From: | Ashley Sheridan | Date: | Sat, 28 Feb 2009 00:15:53 +0000 |
| Subject: | Re: Browser timeout | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-288956@lists.php.net to get a copy of this message | ||
On Fri, 2009-02-27 at 16:33 +0200, דניאל דנון wrote:
> Hello, I am running a script that process the user's request, which usually
> takes about 40 seconds. The problem is that on Internet Explorer 6, it
> timeouts - probably because no response was sent.
> How do I solve this problem? Since I tried some things and header()
> messages, nothing worked.
You could try looking at the flush() function (http://uk3.php.net/flush)
to force some output to be sent to the browser before the entire script
has been executed. It's most likely that your script is taking a long
time to process, and so IE is falling over as it's not hearing back from
the server.
Ash
www.ashleysheridan.co.uk