The sesssion listener classes give you access to session creation events. With that you can write a container that gives you access to all sessions.
On Mon, 2003-03-17 at 00:00, Michael Ni wrote: > If a bean is instanced when a person logins in, can he detect if other > people from other computers have logged on too? in other words, can a > person from a browser see if other people have logged on too? how can i get > information about the different instances of a bean that different people > instantiated? > > mike > > > > > > > >From: Eric Larson <[EMAIL PROTECTED]> > >Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]> > >To: Tomcat Users List <[EMAIL PROTECTED]> > >Subject: Re: application scope question > >Date: Sun, 16 Mar 2003 20:57:59 -0500 > > > > > >The session bean doesn't actually expire when the browser window is > >closed. It times out at some point in the future when it hasn't been > >accessed for some number of minutes that you can configure. > >Theoretically you could manipulate session beans using Listeners to gain > >access to the beans after the client closes his browser window. > > > >Application scope objects don't expire except when the application > >terminates. You can manipulate them using removeAttribute calls, etc. > > > > > >On Sun, 2003-03-16 at 16:30, Michael Ni wrote: > > > for usebean, i know the bean expires for scope session when the browser > >is > > > closed. but for scope application, when does the bean expire? does it > >keep > > > running even after the person who called the bean exits his browser? if > >so, > > > how can the bean terminate itself in an application scope. > > > > > > mike > > > > > > _________________________________________________________________ > > > The new MSN 8: smart spam protection and 2 months FREE* > > > http://join.msn.com/?page=features/junkmail > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > >--------------------------------------------------------------------- > >To unsubscribe, e-mail: [EMAIL PROTECTED] > >For additional commands, e-mail: [EMAIL PROTECTED] > > > _________________________________________________________________ > The new MSN 8: advanced junk mail protection and 2 months FREE* > http://join.msn.com/?page=features/junkmail > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] -- Eric Larson <[EMAIL PROTECTED]> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]