Print Page | Close Window

Active client sessions in BOS

Printed From: IdeaBlade
Category: DevForce
Forum Name: DevForce 2009
Forum Discription: For .NET 3.5
URL: http://www.ideablade.com/forum/forum_posts.asp?TID=1609
Printed Date: 05-Apr-2025 at 9:28pm


Topic: Active client sessions in BOS
Posted By: sebma
Subject: Active client sessions in BOS
Date Posted: 07-Jan-2010 at 6:32pm

Hi All,

Is there is an easy way to check how many "simultaneous client sessions" are active in BOS?
 
Thanks
Seb



Replies:
Posted By: WardBell
Date Posted: 11-Jan-2010 at 10:09am
Looking into it. My suspicion is that this is an IIS thing but I can think of some simple instrumentation you could add that might work as well. Stay tuned.


Posted By: sebma
Date Posted: 11-Jan-2010 at 1:30pm
Well, not only for clients connected to BOS hosted in IIS, but also Windows Service BOS (ServerServices.exe or ServerConsole.exe)

Thanks
Sebastian


Posted By: WardBell
Date Posted: 11-Jan-2010 at 4:07pm

The BOS does know the number of active users (as we count them) but does not expose that number today. We are looking at adding a feature to make that number available.

You can track who/how many users login and logout by implementing the IEntityLoginManager. No obvious way to decrement the count when someone just hangs up or crashes. We "time out" inactive users (after 30 minutes by default) but we don't tell you when.
 
You can guess when folks are timed-out. But that means keeping your own session table (hooking login/logout) and monitoring activity through the other interceptors so you can "time them out" yourself. I wouldn't want to have to do this myself.
 
Hope you can hang in there while we think of something.
 
 



Print Page | Close Window