I want to send chat messages from client to server over a websocket connection.
When the websocket connection is established i want to know: who is the user?, and is the user valid logged in?
My idea is to send in the websocket packet the uf4 cookie, then i take a look in the sessions table and search for the cookie to get the specific user.
Has anyone a better idea or any suggestions?
Iam using UF 4.1 and Ratchet 0.3 for websocket connection.