Showing posts with label comet. Show all posts
Showing posts with label comet. Show all posts

Wednesday, May 23, 2012

How is GMail Chat able to make AJAX requests without client interaction?


All HTTP responses require the client to initiate them, even those made using AJAX. But GMail's chat feature is able to receive messages from other users, even when I'm just sitting in my comfy computer chair watching but not interacting with the browser. How did they do it?