Hi all, I store every command and if they have not been acknowldedged by the server, I resend them.
In my latest tests, I use a program called Clumsy to simulate Internet connection issues. If connection is cut for a short period, everything falls back into place nicely and I thought that everything was working great! However, if I cut connection for longer than 10-20 seconds (I am not sure how long exactly), I just realized that the system does not get back on track. The connection seems to be broken for good. *So my question is simple: what is the correct way to handle the problem? How do I reset a connection to APE (with session) without refreshing the page (I can't)?* I have looked at this.reset() which may be the appropriate way. But it does not work for me as on the server I don't accept two sessions for the same user on the server. Also I have called this.core.initialize(this.core.options); But then I end up receiving duplicated command, probably exactly like if I had several tabs open. *So in short, I can't find the proper way to start with a new fresh connection to the server, with the same session without refreshing the page. Surely there must be a way.* Thanks for helping! -- -- You received this message because you are subscribed to the Google Groups "APE Project" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/ape-project?hl=en --- APE Project (Ajax Push Engine) Official website : http://www.ape-project.org/ Git Hub : http://github.com/APE-Project/ --- You received this message because you are subscribed to the Google Groups "APE Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
