I'm creating a multi-room chat with websockets, using PHP Ratchet. The framework itself facilitates the process of identifying the user, searching for their name through cookies, as can be seen here: link . >
In my localhost, I can not get this information. I think it's a problem with cookies. How can I get these data with cookies to identify the user in a local environment?