There was some discussion of this for html 6 then for awile it looked like
they were gonna drop it and then it came back.  Latest doc is here:
http://dev.w3.org/html5/eventsource/

But dont expect support anytime soon...

On Mon, Jan 3, 2011 at 10:22 AM, sol <solmy...@gmail.com> wrote:

> Hi,
>
> We are using Prototype Ajax on the client side, consuming messages
> from a Comet server.
> We were wondering whether it's possible to keep a connection alive,
> and pass multiple messages on the same connection (for "Server push")?
>
> It's something in the lines of:
> - Client opens an Ajax.request
> - The server sends a reply message; the client consumes it (onsuccess)
> - Now usually, the HTTP connection would be closed; if the client
> expects more messages, it should open a new request and a new
> connection.
> - But we'd like to keep the connection alive for a while (on both
> client and server), so that if the server discovers new data (say 5
> minutes later) it can push a new message on the same connection, and
> hopefully trigger another callback on the client ('onsuccess').
>
> Of course this requires a way of telling when 1 message ends, and
> another begins... we were hoping this can be done based on some
> separator (perhaps multipart format?), or content-length.
>
> Is this supported on Prototype Ajax?
> Thanks :)
>
> --
> You received this message because you are subscribed to the Google Groups
> "Prototype & script.aculo.us" group.
> To post to this group, send email to
> prototype-scriptacul...@googlegroups.com.
> To unsubscribe from this group, send email to
> prototype-scriptaculous+unsubscr...@googlegroups.com<prototype-scriptaculous%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/prototype-scriptaculous?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptacul...@googlegroups.com.
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.

Reply via email to