Eysenck Gómez
unread,Jul 16, 2012, 7:49:07 PM7/16/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to no...@googlegroups.com
Hi all, sorry, but I wanted to ask if any of you have used with express nowjs, I've tried to make an application day in real time, using these technologies, but I have many problems, my project is to make a kind of web poker-style games, where there are canals and rooms, and you create a room and another person joins and can play, once the room is destroyed, and so on. I have had many problems, such as when the same person does not add to a group, for that I rely on the connect.sid, when I create a room on the server I have an array of rooms, each room has an array of usuarios_cookie, ie connect.sid I keep the user's cookie, to prevent a doubling two tabs to be recognized as another user, the problem is when the tab for example doubled my system recognizes the same user but when I close the I check the event tab "disconnect" in nowjs, and look at all my array of rooms from my server, if his was the connect.sid usuarios_cookies user is disconnected, and if so to remove that connect.sid of usuarios_cookie array of my room. The problem is that when doubled and close a tab being in my room, it is recognized as a "disconnect" and accidentally delete the list connect.sid usuarios_cookie of that room. Please if