[google-appengine] Getting a new token after 2 hours: new clientid or not?

2011-08-25 Thread Alex Toumey
When the following happens, is a disconnect message sent to /_ah/channel/disconnected/ for the clientid? I would expect not, because it sounds like the channel (and therefore clientid) are still valid and it's just the token that has expired. "Tokens expire in two hours. If a client remains co

[google-appengine] Getting a new channel token after 2 hours: new clientid or not?

2011-08-25 Thread Alex Toumey
Tokens expire in two hours. If a client remains connected to a channel for longer than two hours, the socket’s onerror() and onclose() callbacks are called. At this point the client can make an XHR request to the application to request a new token. When a token expires and the client needs to