How to track how many users are currently using my application?

The application uses SSO and doesn't have a logout feature. So Is there a way to track how many users are using the application at a given point of time?