Hi,

Ape.registerHookCmd() allows you to hook an existing command (such as
the connect command)

If you want to create your own command, use Ape.registerCmd() (http://
www.ape-project.org/docs/server/commands/registerCmd.html)

Thus, you'll be able to send this command from the JavaScript Client
and catch it through registerCmd and do your MySQL savings here.

Regards,

On Feb 4, 5:48 pm, xaratt <[email protected]> wrote:
> Hi, all.
>
> Thanks for great application.
>
> I want to save chat history (in DB or other storage). AFAIK I need
> server-side module for this, but I can't find how to intercept send
> event _on server_.
>
> Ape.registerHookCmd("send", function... don't work, I didn't found any
> other working method too.
>
> Please, help.

-- 
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/

Reply via email to