'Socket data persistance return me null
I am preparing a school project with socket.io and I have a small problem with the persistence of data in the socket, when connecting I pass a nickname to the socket (socket.nickname = nickname) but when I want to recover this nickname with socket.nickname I have an undefined, on all the examples I have looked at it works for everyone but not for me, can someone help me? thank :)
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
