Hi,

I am trying to make a user join a channel in the call back of an ajax
request. I noticed two things. Here is what i did.

I just used the code myApe,core.join('channelname'); and  logged the
channel name in the call back of the multiPipeCreate event.
HEre are my observations

1)  when i made the user join a channel using core.join('newchannel');
it logged 'newchannel' in the console of firebug which means a new
multipipe was created. Does it mean that the server side 'mkchan' part
can be skipped in this case ?

2) i refreshed the page after executing the core.join method above,
it automatically joined the channel on page refresh. But  in the hello
world tutorial in ape docs in the call back of the client ready event
its says
<code>
 //1) join 'testChannel'
                client.core.join('testChannel');
</code>
so i removed this line from my code and it still joined the channel.
testchannel

Although everything is working as required, I just want to confirm if
i am doing it correctly and not missing anything important.

Thanks and regards,
Vineet

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