dwyl / chat

:speech_balloon: Probably the fastest, most reliable/scalable chat system on the internet.
GNU General Public License v2.0
65 stars 8 forks source link

My name becomes 'null' #18

Open melroy89 opened 8 years ago

melroy89 commented 8 years ago

After a while being in-active the name I provided becomes null in the chat. Somehow the name get lost at server side?

Atleast I still have a cookie in my Firefox browser called 'name' containing my name. But in chat my name becomes 'null'. Maybe you should create an unittest for that :P?

See: name_null

Kind regards, Melroy van den Berg

nelsonic commented 8 years ago

@danger89 well spotted. that is a strange one. We expect this will no longer be an issue in the next iteration of Chat because we will be sending the cookie to the server not just the message.

melroy89 commented 8 years ago

@nelsonic Check-out: https://github.com/rajaraodv/redispubsub#socketio-and-sticky-sessions Sticky sessions could also be interesting?

Thanks. Hopefully it will be fixed indeed.

I was not the only one, when I scrolled-up in the chat I saw it as well: not_the_only_one