SSE (server sent events) disconnections
===

I'm trying to use SSE for a ticker application.
It seems that in every sample I found or wrote the connection is closed every 3-4 seconds.
Even when running the example at :
http://www.w3schools.com/html5/tryit.asp?filename=tryhtml5_sse

you can see that an update arrives every 3-4 seconds. This is not due to the server 
implementation ("demo_sse.php" in this example), but due to a reconnect which occurs every 3-4 seconds.

If I add the following to the above example:

    source.onerror=function(event)
    {
      document.getElementById("result").innerHTML+=source.readyState+ "<br />";
    };

you can clearly see that the readyState is 0, meaning : "The connection has not yet been established, or it was closed and the user agent is reconnecting." (taken from the official EventSorce API doc).

So what I'm interested is in how the connection is kept through the session.

Thanks for your help,
Omer.