On Fri, Aug 9, 2013 at 10:52 AM, Peter D <[email protected]> wrote:

> Is there some magic to getting token re-use to work?
>
> In my situation, I want to make sure that clients reuse a token at least
> in the case of page refreshes for example, so I store their token in a
> cookie. Both in production and the dev_appserver (1.8.3), whenever I re-use
> a token, the channel socket will never receive any messages.
>
> The biggest issue, is that the channel still fully succeeds in opening,
> the onopen callback is called correctly. So there is absolutely no way for
> me to even tell if there is something wrong, but no messages will be
> received ever.
>
> No matter how much I test things, it seems that after a token has been
> connected to once, it will no longer function afterwards.
>


Hello Peter,

Your last line was correct, you cannot reuse Channel API tokens. Once a
token is used, it cannot be reused to open a new channel, or reopen a
previously-used channel.


-----------------
-Vinny P
Technology & Media Advisor
Chicago, IL

App Engine Code Samples: http://www.learntogoogleit.com

-- 
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 http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to