The Servlet API gets in the way here; you can't go blindly accessing
other HttpSessions ... its simply not supported.

The normal approach for handling this is not related to Tapestry; you
can create a HttpSessionActivationListener using the <listener>
element of the web.xml descriptor.

This object, once registered with the Servlet API, will recieve a
notification whenever an HttpSession is created or destroyed.  It can
keep track of the number of users.

On 9/24/05, Simon Buettner <[EMAIL PROTECTED]> wrote:
> to get a list of all users and to see how many users are currently logged in.
>
>
>


--
Howard M. Lewis Ship
Independent J2EE / Open-Source Java Consultant
Creator, Jakarta Tapestry
Creator, Jakarta HiveMind

Professional Tapestry training, mentoring, support
and project work.  http://howardlewisship.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to