Assuming you want to unsubscribe from JSF:
ape.request.send('LEFT',{'channel':channel});
On Wed, Aug 4, 2010 at 6:05 AM, Chiyo's Dad <[email protected]> wrote:
> anyone?
>
> On Aug 1, 1:50 am, "Chiyo's Dad" <[email protected]> wrote:
> > I need to unsubscribe users from channels. I have tried it several
> > ways. Following the documentation, I have done it like this:
> http://www.ape-project.org/docs/client/multi-pipe/left.htmlandhttp://www.ape-project.org/docs/client/core/left.htmlonthe
> client
> > side, and I have also tried implementing it on the server side as a
> > command as inhttp://www.ape-project.org/docs/server/users/left.html
> > which I then fire from the client side But none of these methods have
> > worked.
> >
> > For method #2 and 3, it does not work because the function does not
> > exist (for #2, javascript stops at that line, and for #3, when I
> > restart ape-server I get a message that "cmd.user.left is not a
> > function"). #1 seems to be a function in that it doesn't crash
> > javascript, so it's possible that it correctly kicks the user off,
> > however the event userLeft is not being fired, so other users on the
> > channel don't see that the user is leaving.
> >
> > What is the correct way to unsubscribe a user from a channel?
>
> --
> 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]<ape-project%[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/