Is there a way to clear out the responseText of an XHR object without destroying the XHR object?
I need to keep a persistent connection open to a web server to feed live data to a browser. The problem is, there is a relatively large amount of data coming through (several hundred K per second constantly), so memory usage is a big problem...
How can I implement Comet / Server push in Google App Engine in Python?
...
I have searched on google for hours without finding a good and simple example of the comet technique using PHP. I just need an example that uses a persistent HTTP connection or something similar. I dont want to use a polling technique because I have something like that set up and not only is it difficult to work with and manage its a big...
I am doing Comet chat with Erlang. I only use one connection (long-polling) for the message transportation. But, as you know, the long-polling connection can not be stay connected all the time. Every time a new message comes or reaches the timeout, it will break and then connect to the server again. If a message is sent before the connec...
I'm making a chat application that works with long-polling to emulate a "push" from server to client.
Basically, the browser asks for updates, and I reply if there's something new. Otherwise, I keep the connection open without responding until there is something to send back.
Now, if 30 seconds have passed and I haven't sent anything, ...
i cannot see the different between using atmosphere api or use grizzly directly? can explain?
...
I'm working on Comet support for CppCMS framework via long XMLHttpRequest polls. In many cases, such request is closed by client before any response from server was given -- for example the page is closed, user moves to other page or it is just refeshed.
At the server side I expect that I would recieve the notification that connection i...
from http://directwebremoting.org/dwr/reverse-ajax/index.html , it stated it supports polling, comet,piggyback. does that mean when we implement this approach, we can change to this 3 options in configuration without changing codes? what does dwr implement different from atmosphere api? dwr can be used on all j2ee containers also right?...
may i know what is the different between these 2 approach ? can explain in lay man terms?
...
Can XMPP be applied in a similar way to the reverse Ajax pattern? Can it be used to implement http long wait like Comet? Is there an example of using such a technique with XMPP?
...
I love the idea of Grizzly, but I can't find any good examples to work with. Well, any good tutorial... I want to have an embedded HTTP server that I can talk to from Dojo. I don't want a J2EE server and I want to use Java. What do you folks think?
...
I have a page that already makes multiple AJAX requests at the same time. They use the Comet model, so there are always multiple HTTP connections open, waiting for more data from the server. As the page gets more complex in the future there may be even more. I'm concerned about opening too many connections.
I wonder if there is a way to...
Hi, I'm relatively new to the whole AJAX way of doing things so please excuse me if I'll mix two different things (although I'd appreciate it greatly if you could comment me on that).
My question is this:
I have many web clients (lets say around 1500) whom I want when starting up to "subscribe" to the web server with some sort of Id and ...
hello everybody,
I am working on a chatting application and i was using simple ajax polling to retrieve the new chat but its working good because there are few more xmlHttp request to check online status and to send chat to others and some for other reason, so i think there are many request in my form thats why its not working so now i...
I'm trying to connect to an application that uses Comet and is pretty heavy on Javascript and Comet. I've gone as far as I can go in Firebug, HTTP Header examination and am trying to see what's coming over the wire by writing something using Ruby Mechanize.
However, since I have no client run-time, my approach is to mimic the HTTP re...
Hi there,
I made a comet chat server with Erlang and Mochiweb. And I run the "./start-dev.sh" to start the server. But after about 1 month I got the following error:
=ERROR REPORT==== 26-Sep-2009::09:21:06 ===
{mochiweb_socket_server,235,
{child_error,
{badmatch,
{error,
[70,97,105,108,101,100,32...
I want to push arbitrary XMLEncoded java objects back and forth using Dojo cometd channels, and I have a problem decoding the payload properly.
In order to do this I have this send method in a stripped down version of the chat room client demonstration program:
private void send(String string) {
Map<String, Object> map = new HashMap<...
If one has access to both the Asp.net membership DB (the standard SqlMembershipProvider db, generated with aspnet_regsql.exe), and the respective asp.net client's cookies, is it possible to correlate the two to identify the user from the cookies?
Background (in case this seems like a hacking attempt!):
We have a web application that ma...
In Flex 3 application I use HTTPService class to make requests to the server:
var http:HTTPService = new HTTPService();
http.method = 'POST';
http.url = hostUrl;
http.resultFormat = 'e4x';
http.addEventListener(ResultEvent.RESULT, ...);
http.addEventListener(FaultEvent.FAULT, ...);
http.send(params);
The application has Comet-architec...
Trying to get my way trought Comet with Java servlets, I encountered a big problem: There seems to be no way to use the established connection to the client to send the server additional data from the browser (works in plain java when writing to the inputstream).
Following problem arises for a CometChat application when a Client connect...