Top "Comet" questions

Comet is a generic term used to describe technology used to "push" data from a web server to connected web clients.

How do I implement basic "Long Polling"?

I can find lots of information on how Long Polling works (For example, this, and this), but no simple examples …

php http comet
What are Long-Polling, Websockets, Server-Sent Events (SSE) and Comet?

I have tried reading some articles, but I am not very clear on the concepts yet. Would someone like to …

php websocket comet long-polling server-sent-events
WebSockets protocol vs HTTP

There are many blogs and discussions about WebSocket and HTTP, and many developers and sites strongly advocate WebSockets, but I …

ajax http websocket comet
How does facebook, gmail send the real time notification?

I have read some posts about this topic and the answers are comet, reverse ajax, http streaming, server push, etc. …

comet
Refused to set unsafe header "Origin" when using xmlHttpRequest of Google Chrome

Got this error message: Refused to set unsafe header "Origin" Using this code: function getResponse() { document.getElementById("_receivedMsgLabel").innerHTML += "getResponse() …

ajax xmlhttprequest comet cors
Is there some way to PUSH data from web server to browser?

Of course I am aware of Ajax, but the problem with Ajax is that the browser should poll the server …

ajax webserver comet
Comet and jQuery

I've done some research into server push with javascript and have found the general consensus to be that what I'm …

javascript jquery design-patterns comet server-push
Using comet with PHP?

I was thinking of implementing real time chat using a PHP backend, but I ran across this comment on a …

php comet
Simple comet example using php and jquery

Can anyone give me a good and simple example of the comet technique using PHP? I just need an example …

php http iis comet keep-alive
Short-polling vs Long-polling for real time web applications?

I'm building a real-time web application As far as I know, the most popular choices are short-polling and long-polling. What …

javascript http comet real-time long-polling