Hello everybody,
I am new to moodle development and I have a problem with chat SID. Here is the problem, I'd like to develop a chat client for my android smatphone, that is, I'd like to connect to the chat from my phone.
Well, I understand that mdl_chat_users table holds the connected users. So, in order to get connected, everything I have to do is to insert a new registry in this table containing my user.
The problem is the column 'SID'. So, I ask for your help to answer these questions:
How does it Moodle generate an user SID? And how can I get a valid user SID?
Thanks in advance.