Is there anyway to know if any user is currently using the web-app developed on node?

I want to know if any user is currently active on the app. Can we get to know that, How?

Hello! When you say app you mean a web app? A mobile one?
Are you using node? Php?

have updated the question. Thanks

Similar question here and a few suggestions: