[progress Communities] [progress Openedge Abl] Forum Post: Re: Active Client Count...

  • Thread starter Thread starter dbeavon
  • Start date Start date
Status
Not open for further replies.
D

dbeavon

Guest
Is there any documentation for the public API of the ".Net Open Client"? In particular I'm looking for SessionPool methods (public) so that I can troubleshoot the types of issues I had described above. As near as I can tell, there is no way on the client-side to enumerate the State-Free sessions associated with a state-free/session-free appserver connection. I need to enumerate them to examine for resource leaks (ie bugs in either our custom code or in the Progress open client itself.) I have been able to poke around by trial-and-error and found that I could loop thru existing sessions like so: for (int LoopCount = 0; LoopCount < StateFreeConnection.GetSessionPool().availableSessions(); LoopCount++) { MySessionsReserved.Add( StateFreeConnection.GetSessionPool().reserveSession()); } But the troubling thing is that, while the reserveSession () method seems to give me the details about one of the sessions, it also manipulates the SessionPool at the same time, thereby changing state. I don't want to change anything, just iterate and observe the contents of the SessionPool. No other public method seems to return Session objects from the SessionPool. Any help would be appreciated. ...Another thing that is troubling to me is that there appears to be a bug in the .Net open client related to the ConnectionLifetime property. I have heard it said that by default the open client is supposed to release sessions after five minutes and free up resources. But what I'm actually observing is that the default behavior is to never release resources.

Continue reading...
 
Status
Not open for further replies.
Back
Top