http://www.perlmonks.org?node_id=635756


in reply to Help With Ethereal Result

I haven't fiddled around with server push yet.
However, http://ajaxpatterns.org/HTTP_Streaming might be useful to you.

I'd guess firefox simply fed up waiting for the finish of the response.
Perhaps you should add something like body.onload="window.location.reload()";

As far as I know you can't rely on a persistent connection.
Besides the IE, who will break the connection in each case, the client could loose the internet connection for example.

I'm however very interested in http streaming, could you perhaps msg me how you solved the problem ?
michael

Replies are listed 'Best First'.
Re^2: Help With Ethereal Result
by Anonymous Monk on Aug 29, 2007 at 20:11 UTC
    The problem is when the Apache server received the RST command, it killed the running PERL script as well. How do I prevent Firefox from sending out this RST command though?
      There's no easy way to establish a new connection between firefox and the running script AFAIK.

      I also don't believe it would be possible/wise trying to change the behaviour of firefox,
      although you could write your own webbrowser for the client's side...

      I think you'll need something like session cookies and persistent session data storage.

      What exactly are you trying to do ?