How to manage multi users in a single session in app

How to manage multi users in a single session in app
0.0 0

#1

Hello,

I need some one to explain me how I can manage users in a session in a app, namely the users can go in a session created a can interact with others user as chats doin, thanks in advance.


#2

You would need a server. The server keeps track (with sessions/cookies) of each active session and with a chat app, you would traditionally use sockets to send data back and forth.

Have you done the backend section yet? There you would deal with a lot of this kind of stuff and even use sockets on one app. Barring that, chat apps are a pretty popular demo for sockets - I’m sure if you go to youtube and type in “node chat app” you will find lots of examples.


#3

thanks, i’ll try with searching from node chat app topics