Ok I've tried reading through the docs and it seems half of them aren't even correct. Some of the examples don't work.
I can't seem to start a connection with a username already selected. I have tried... APE.Config.scripts = [APE.Config.baseUrl + '/Build/ uncompressed/apeCoreSession.js']; var client = new APE.Client(); client.load({'identifier': 'shoutit', 'channel':'mainLobby'}); client.addEvent('load', function() { client.core.start(); }); client.addEvent('ready', function() { if (client.core.options.restore) { client.core.getSession('name', function(name) { console.log('username value is : ', name.data.sessions.name); }); } else { console.log('saving custom session data, username on the server'); client.core.setSession({'name':'RossCo'}); } }); client.addEvent('multiPipeCreate', function(pipe) { console.log('New pipe ' + pipe.name); }); -- You received this message because you are subscribed to the Google Groups "APE Project" group. To post to this group, send email to ape-project@googlegroups.com To unsubscribe from this group, send email to ape-project+unsubscr...@googlegroups.com 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/