Re: HTTP_Header and browser abortion
| From: | Andre Bischof | Date: | Mon, 18 Oct 2004 15:44:31 +0000 |
| Subject: | Re: HTTP_Header and browser abortion | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-14952@lists.php.net to get a copy of this message | ||
Hello Robin,
> On Mon, 2004-10-18 at 15:40 +0200, Andre Bischof wrote:
>
> > Could anyone tell me the correct headers to maintain a connection or
> point
> > me to some documentation to that topic? I could not find any documention
> or
> > examples within HTTP_Header on the pear website, or did I search wrong?
>
> Normally you would need to send some data over the connection so that
> the connection will not be dropped. I did a small progressbar a while
Sorry, I forgot to mention that, I do send data in the inner loop ...
> back and noticed that IE dropped much earlier than Mozilla*. In IE you
> also must send +256bytes so that IE gets the grip that it's a valid
> connection.
... but only a space or an empty html-comment - I didn't know about this
+256byte-thingy!
> One thing I saw another script did was that sending a bogus header every
> once and awhile. Like header("X-Bogus0: nothing here.");
hm, I can only send headers in the beginning, afterwards some output is
already generated, so that I would get an error "headers already sent ...".
But I've tested it, the +256Byte was it! Thanks so much, I've been working
on this problem now for ages! How is one supposed to know such things
*wonder*
Best regards and thanks sooooo much
André
--
+++ GMX DSL Premiumtarife 3 Monate gratis* + WLAN-Router 0,- EUR* +++
Clevere DSL-Nutzer wechseln jetzt zu GMX: http://www.gmx.net/de/go/dsl