I don''t believe that prototype supports persisted xmlhttp connections.
If you are interested in alternatives, dojo does support it.
More info here: http://alex.dojotoolkit.org/?p=545
and here: http://dojotoolkit.org/intro_to_dojo_io.html
On 6/8/06, Jean-Philippe Encausse
<Jp-vcK5r0oTKUrk1uMJSBkQmQ@public.gmane.org>
wrote:>
> Hi,
>
> A cool javascript programming techniques is used in GoogleTalk and
> Google Spreadsheet.
> They leave opened an XmlHttpRequest to send and receive data.
That''s
> why they are so reactive. It works because there''s no navigation
> (request) only ajax.
>
> My questions are:
>
> 1. Does prototype allow that kind of long ajax request ?
>
> 2. Is it possible to store Javascript Object in the scope of the navigator
> ?
> -> Firefox allow storing vars in object "Navigator". But not
IE. The
> vars are available during single tab navigation. But I don''t know
if
> XmlHttpRequest stay opened ?
>
>
> Best Regards,
> Jp
>
> --
> Jean-Philippe Encausse - R&D Jalios SA
> Jp [at] encausse.net - http://www.encausse.com - http://www.jalias.com
> GTalk: jp.encausse [at] gmail.com - SMS: sms [at] jp.encausse.net
> Mob: +33 6 82 12 56 99 Jalios: +33 1 39 23 92 83 Tel: +33 1 39 18 90 15
> Do it Once, Use it Twice ~ Do it Twice, Make It Once
> _______________________________________________
> Rails-spinoffs mailing list
> Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
> http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
>
--
Jim Geurts
Bia Creations, LLC
http://biacreations.com
414-213-1903
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs