Hi Dominik, I see several way to do that :
- You can push in a cookie each channel you join. When a sessions restoration occur (there is an event on the client-side) just send a "left" cmd on these channels. - Instead of pushing channels into a cookie, you can set them in a "server session" : http://ape-project.dev.weelya.net/en/docs/client/core/setsession.html >"he has joinedwhen the session was created and therefor does not receive all themessages he should receive." Why do you mean by "not receive all the messages"? Anthony Dominik a écrit : > Hi! > > I've created an application which consists of several pages where the > user is joining several channels to receive different messages. > Unfortunately the channels to join change very often and are > determined during page load. But due to the session behaviour of the > APE Client Framework the user always joins the channels he has joined > when the session was created and therefor does not receive all the > messages he should receive. > > A way to fix this issue is to clear the session for each page, so that > the user logs in to the APE server every time he opens a page. But > this is obviously not a very good solution... > > Is there a way to realize these dynamic channel joins without > deactivating the sessions somehow? > > Thanks, > Dominik > > -- 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/
