pomelo
pomelo copied to clipboard
UID is Null
Im trying to use Channels. But for that i need to know the Session UID.
However, when i console.log the session varable in my handler, i got this:

What i am doing wrong? The server should not auto generate these UIDs?
Look at these chat of pomelo example: https://github.com/NetEase/chatofpomelo/blob/master/game-server/app/servers/connector/handler/entryHandler.js
uid is generated manually:
var uid = msg.username + '*' + rid;
Oh, i see. Thanks!