|
Posted by Tim Roberts on 12/17/61 11:54
"Sonnich" <sonnich.jensen@elektrobit.com> wrote:
>
>I have a PHP script, which in extreme cases take more than one hour to
>load. That is on the HTML side, where the browser by some reason might
>cut off, before the PHP has finished.
>
>The point is that I can see that the PHP does what it should right
>until the end, while the client side says the page could not be found.
>
>I should mention, that a large amount of information is sent to the
>client including an <iframe> with a reloading status message. But after
>one hour without </html> the browser (IE) goes on to "the page cannot
>be found".
>
>How do I overcome this?
What do you want to overcome? You have no control over how long the
browser will wait for an answer. It has the right to decide its own
timeout, and give up at any time.
If you really have an operation that will take an hour, you need to use
some kind of periodic "refresh" scheme to have the far end keep checking
for the job to be finished.
--
- Tim Roberts, timr@probo.com
Providenza & Boekelheide, Inc.
Navigation:
[Reply to this message]
|