I'm encountering problems with APE when using client.core.quit() function:

            var client = new APE.Client();
            client.load();
            client.addEvent('load', function() {
                client.core.start({"name":"test"});
            });

            client.addEvent('ready', function() {
                client.core.join('testChannel');
                client.addEvent('multiPipeCreate', function(pipe, options) {
                pipe.send('Hello world!');
                });
                client.onRaw('data', function(raw, pipe) {
                    console.log('Receiving : ' + unescape(raw.data.msg));
                });
               * client.core.quit();*
            });

The above code give me the following error:
[{"time":"1291043479","raw":"ERR","data":{"code":"004","value":"BAD_SESSID"}}]


Any thoughts?

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