> From: "Quinton McCombs" <[EMAIL PROTECTED]> > > I need to be able to get a list of all sessions currently active. I > want to be able to get a collection of all of the active session objects > on the server and access the data that they contain. > > Can someone point me in the right direction for this? > I asked a fairly similar question a long long time ago and received no response. I don't think Turbine currently provides for this.
For my purpose I was mainly interested in knowing the number of active sessions in my application. To do this I created a SessionTracker class that implements HttpSessionListener and then configure my web-app to use it. Given that SessionTracker has access to the actual sessions, I would think you could get at the data if you maintained a static List of the sessions. You would have to code this to be thread safe manner it could prove to be a performance bottle-neck. HTH, Scott -- Scott Eade Backstage Technologies Pty. Ltd. http://www.backstagetech.com.au -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
