Hello! How i can create a new unique connections?
At this moment I have
$this->clients->attach($conn); onOpen
$conn->Session->get('user_id');
I want to count all users connected to my websocket server...(in this moment if i open a new Tab i get a new connection with same account so there is duplicates)
Thank you!