That's an interesting point, Louis! If i store a triple userID/roomID/pubid server-side i could have a more flexible way to manage public AND private messaging. When a user refreshes a page, the server will update the corrensponding tuple with the new pubid. Yeah, it's a bit complicated, but MAYBE this way i'll make it :-)
On 8 Feb, 14:55, Louis Charette <[email protected]> wrote: > I should take a look again at that article, it's been a while! > > The way I worked around to send private messages to a user (based on his > CMS/forum user id), is to store this ID in the user object server side. When > a private message need to be send to him, I call a custom server side > command, loop thought all the ape clients, and send to the corresponding > client. > > Another way to handle private messaging on a chat, based on a CMS userID, is > to have this user join a channel named after his ID. You the. Sed everything > down this pipe. > > - Louis > > Envoyé de mon iPhone > > Le 2012-02-08 à 06:55, Giuseppe Mastrandrea <[email protected]> a > écrit : > > > > > > > > > I read this, and i'm working on that very userlist. Maybe i'll be able > > to post something useful in a few hours. Thanks :-) > > > On 8 Feb, 12:48, Sergei Koba <[email protected]> wrote: > >> Read this please http://www.xosofox.de/2010/10/ape-user-handling/ > >> If someone hasn't posted this link already. It shows the way to store all > >> pubids for a logged user. > > > -- > > 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/
