Re: Browser timeout
| From: | Ashley Sheridan | Date: | Sat, 28 Feb 2009 00:49:23 +0000 |
| Subject: | Re: Browser timeout | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-288962@lists.php.net to get a copy of this message | ||
On Sat, 2009-02-28 at 02:42 +0200, דניאל דנון wrote:
> The problem is - What to send? Since I'm using a template-class, I did
> not include an option to send only the header(html, head), is there
> any way other then sending the template's HTML to solve this problem?
>
> On Sat, Feb 28, 2009 at 2:15 AM, Ashley Sheridan
> <ash@ashleysheridan.co.uk> wrote:
>
> 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
>
>
>
Depends what templating class you're using, it might be a built in
feature?
Ash
www.ashleysheridan.co.uk