N
Nuxt2y ago
Romi

Showing user is on the page

Hi, I want to show if a user is on a certain page (for example /post/1 and another user goes to that page should show up that someone is on / editing on this page . hope that makes sense lol
2 Replies
warflash
warflash2y ago
That's probably gonna take a bit of work Basically you want to open a websocket connection to your backend server and then send the route you're currently on to the backend which broadcasts the status to other users that also have an open connection
tDaniel
tDaniel2y ago
Ye you need a websocket connection, that would be the best way ngl
Want results from more Discord servers?
Add your server