#Get current active Realtime sessions

7 messages · Page 1 of 1 (latest)

fading mango
#

I'm trying to find a simple way to show the number of active page views. The console shows the number of active Realtime sessions, so I was hoping I could pull the same data, and just have the page I want to monitor listen for something random.

I will have to find a way to know which page it is, but is there any way to get the number of active Realtime sessions with the SDK?

I'm using Svelte

#

Get current active Realtime sessions

tiny monolith
#

and im not sure you'll be able to use that for what you need...you'll probably have to find a custom solution

fading mango
tiny monolith
fading mango
#

Huh - the projectId in the request from the console is console, not the projectId for current project