Concurrency Issue With a SessionListener.

2005-05-03 Thread Jacob Champlin
I am having issues with a SessionListener I have written. The purpose of the Listener is to maintain a List of Active Users on the site. Here is the code for the Listener. // BEGIN CODE public class ActiveUsersListener implements Serializable, HttpSessionListener { public static Set activeSess

Re: Concurrency Issue With a SessionListener.

2005-05-03 Thread Frank W. Zammetti
I had to do almost the exact same thing a while back... I'm not sure what the source of your lockup is, although I can say my code synchronized on what would be your activeSessions Set any place it was accessed (probably more than I had to frankly)... I'm not even sure there would have been conc