Ok, i think i know what you talking about now. Look what i did my load event here https://github.com/ptejada/ApePubSub/blob/master/js/jquery.Ape.PubSub.js in line 101. Used some logic to determine if it is a session restore, not sure if that is what you looking for though
Sent from my iPhone On Apr 7, 2012, at 6:05 AM, Micael Ribeiros <[email protected]> wrote: > Hello Louis, > > Do you check that on the client or on the server? Im guessing the > server. My main goal is to prevent extra "load" on the client, I want > it to be as lightweight as possible. But resetting the user pubid > renders the client unable to communicate to the server (through the > user pipe). What I want to know is a proper way to "re-join" a user on > a channel without sending a new "userJoin" event to all the other > clients on that channel. Where do I need to change the pubid of the > "user" that rejoined on a channel or what do I need to change? The > channel userlist is an "extra" feature right? It wont update the pubid > of the user on that channel. I also want to prevent a "userLeft" event > to be sent to the other clients on a channel when the previous > connection of the user that rejoined times out. > > Regards > > -- > 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 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/
