Hi,
your second solution was good : calling core.quit() unfortunatly there
is a bug in APE with the QUIT raw : the user is not deleted from the
server. This will be fixed in the next minor release of APE.
But if you update your APE Server to the git version, you can use this
workaround :
Create a custom command on the server side called myquit :
Ape.registerCmd('myquit', true, function(param, info) {
info.user.quit();
});
On the client side call :
core.request.send('myquit');
This should work ;)
Regards.
Herson wrote:
> Hi,
>
> I'm having difficulties to find what I need in the documentation so
> I'm here to ask some questions.
>
> I need to make when a user leave the channel it's name is available
> for use by another person who requests it. What I did was when the
> user close the window or click to call out 'client.core.left
> (channel.pubid)' but when I connect again with the same username and
> returns me 007 - NICK_USED.
>
> I also tried limapar a session with core.clearSession () and soon
> after made a core.quit () but still not working. I follow the link to
> the code.
>
> tanks
>
> http://pastebin.com/M3UY5tXf
>
> --
> Herson Leite, Desenvolvedor Web
> www.hersonls.com.br <http://www.hersonls.com.br> | [email protected]
> <mailto:[email protected]>
> --
> 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/
--
Nicolas Trani - Web engineer
Weelya - Improve the web
32 rue du faubourg boutonnet
34090 Montpellier
Tel: 04 67 169 778 - Fax: 09 57 91 99 91
http://www.weelya.com
http://www.ape-project.org
--
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/