Comments on: Server-Sent Events https://stevefaulkner.github.io/html5doctored/server-sent-events/ helping you implement HTML5 today Thu, 28 Jul 2016 17:36:34 +0000 hourly 1 By: sime https://stevefaulkner.github.io/html5doctored/server-sent-events/#comment-1821590 Wed, 01 Apr 2015 06:03:37 +0000 http://html5doctor.com/?p=4181#comment-1821590 Looks like Yaffe’s polyfill doesn’t override Firefox and Chrome’s native implementation: https://github.com/Yaffle/EventSource/commit/1b85c03bff8fdb534550b61f65ca762a7c9c6731

]]>
By: ranjith kumar G https://stevefaulkner.github.io/html5doctored/server-sent-events/#comment-1803261 Fri, 27 Mar 2015 17:16:27 +0000 http://html5doctor.com/?p=4181#comment-1803261 i doing Remote Monitoring System project …
Here i m using SSE for checking Online or offilne of system using severSocket program in java

i’m geting output no problem in that but when i was Refresh the page or Moving Some Other Page and come back the page its not working but in console i m geting output … the On Source Message Event is not working When u Refresh please Help me Im Staked…
below i Given My code

if (typeof (EventSource) !== “undefined”) {
var i=0;
source = new EventSource(“http://localhost:8080/RemoteLoingServerfinalz/Done1”);

source.onmessage = function(event) {

alert(event.data);

};
} else {
document.getElementById(“ServerTime”).innerHTML = “Sorry, your browser does not support server-sent events…”;
}

]]>
By: ritu https://stevefaulkner.github.io/html5doctored/server-sent-events/#comment-1582137 Mon, 16 Feb 2015 16:33:11 +0000 http://html5doctor.com/?p=4181#comment-1582137 I am trying to use Jersey SSE between a JAVA client and a Java rest service implementation.
When we close the eventSource on from client side no event gets triggered from the server side.I need to do soen clean up activity but unfortunately I am not able to catch this event.
It would be great if you could give some suggestions around this.

]]>
By: DNA https://stevefaulkner.github.io/html5doctored/server-sent-events/#comment-173846 Wed, 30 Jul 2014 22:09:34 +0000 http://html5doctor.com/?p=4181#comment-173846 I can’t seem to find any articles on configuring Apache on AWS EC2 Linux instance so that PHP Server Sent Events can be used simultaneously with forms which can receive a POST request from the server. Can this be done? and if so how could I accomplish this?

]]>
By: Viktor https://stevefaulkner.github.io/html5doctored/server-sent-events/#comment-91385 Fri, 04 Jul 2014 10:39:44 +0000 http://html5doctor.com/?p=4181#comment-91385 @XIE JIABAO, possibly, it is better to use async sockets from java nio, you can mantain a list of client sockets

]]>
By: XIE JIABAO https://stevefaulkner.github.io/html5doctored/server-sent-events/#comment-49244 Mon, 05 May 2014 03:17:25 +0000 http://html5doctor.com/?p=4181#comment-49244 I create a servlet class for sse using JAVA. If I want each client have own connection of sse, how should I do?
How to do like that – maintain a list of all the connected users in order to emit new events?

]]>
By: Abdul Jabbar https://stevefaulkner.github.io/html5doctored/server-sent-events/#comment-45270 Sun, 26 Jan 2014 21:37:08 +0000 http://html5doctor.com/?p=4181#comment-45270 Just one word for all “PERFECT” for teaching step by step but was even more better if we could find some example with Apache as well because Apache is still highly used for PHP specially. And yes your demo link is also not working :(

]]>
By: Alexander Popov https://stevefaulkner.github.io/html5doctored/server-sent-events/#comment-39563 Tue, 12 Nov 2013 21:45:12 +0000 http://html5doctor.com/?p=4181#comment-39563 Great article. The link to the live demo doesn’t wok.

]]>
By: Jack https://stevefaulkner.github.io/html5doctored/server-sent-events/#comment-38531 Wed, 02 Oct 2013 22:30:23 +0000 http://html5doctor.com/?p=4181#comment-38531 Hi,
I am just discovering SSE, and I like very much your approach “the right thing for the right usage”. Your post is enlightning.
I am bulding an app on node, and so far I am with socket.io. It’s a kind of “giant” chat.
I am more and more concerned about potential limits on the number of concurrent users with node & socketio, which is critical for me.

Have you experienced any limitation of concurrent connections with SSE ?
thx
/Jack

]]>
By: Anon https://stevefaulkner.github.io/html5doctored/server-sent-events/#comment-31814 Fri, 01 Mar 2013 12:30:30 +0000 http://html5doctor.com/?p=4181#comment-31814 Hi Remy,

A very good article! Thank you.

By the way, this all is JavaScript (SSE, WebSockets etc…), isn’t it? Why is it classified under HTML5 specifically?

]]>