Managing the connection on the client side is not as simple as the server. The 
following may be useful:

The dev server simulates channels by polling, so it isn't a great guide for how 
it works in the live environment.

Channels only last about 20 minutes. On the client, pull get the js error 
callback, just establish a new connection and continue. If this seems to have 
some issues, there are some hacks published to stack overflow that seem to make 
reconnecting more reliable.

Disconnect is mostly reliable, but it's probably only useful for cleaning up 
data on the server. If you want to drive behavior, I'd rely on the client 
making requests based on the js callbacks for onclose and onerror.

Once you client side and server side code is bedded down it's very reliable and 
robust.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/af84ea82-e23f-4ec2-88db-b585f3e135d9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to