You can check out the plugin I have been working on also. It uses the Bayeux
protocol to handle channeled communication with a cometd server.
http://plugins.jquery.com/project/Comet

On Feb 5, 2008 8:11 AM, Jamie <[EMAIL PROTECTED]> wrote:

>
> FYI, for anyone else who might want a solution for this..
>
> I ended up doing it using an alternate reverse ajax which closes the
> connection after an update is sent.
>
> On the first call, the client requests a long-executing call be
> started.  The server starts a thread to perform the request and
> returns an ID to identify the request.
>
> The client then updates the page UI and immediately requests an update
> from the server.  The server sits on the request (pauses the request
> thread) until new status information is available, at which point it
> sends the status back to the client (I use XML do to the
> infrastructure of my site, you could use JSON).  The client then
> updates the UI again.
>
> This repeats until the state received from the server indicates the
> call is complete.
>
> - Jamie
>
>
>
> On Jan 25, 8:47 am, Jamie <[EMAIL PROTECTED]> wrote:
> > Hey,
> >
> > Has anyone ever tried any reverse ajax solution using jQuery?  I have
> > a slow-loading ajax call and would like the server to send back status
> > updates through the open HTML connection.  Does anyone know how I
> > could gain access to the server response data as in comes in, rather
> > than at the completion of the ajax call?
> >
> > Thanks!
> > Jamie Goodfellow
>



-- 
http://morglog.alleycatracing.com
Lets make up more accronyms!

http://www.alleycatracing.com
LTABOTIIOFR! ROFL! ROFL! ROFL!
Upcoming alley cats, reviews, touring logs, and a general congregation of
bike nerdity.

Reply via email to