Getting a new token after 2 hours: new clientid or not?

6 views
Skip to first unread message

Alex Toumey

unread,
Aug 24, 2011, 6:45:26 PM8/24/11
to google-a...@googlegroups.com
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 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."
My real question is whether I should have the client request a new token using the same old clientid, or generate a new clientid for the request...
Reply all
Reply to author
Forward
0 new messages