You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by John Cartwright <Jo...@noaa.gov> on 2007/03/14 16:46:34 UTC

list of session objects associated w/ a context

Hello All,

Is there a simple way to get a list of the HttpSession objects 
associated w/ a particular context?  I know that I can send a request to 
the Manager servlet, but I'm looking to get the objects themselves.  I 
need to examine each session for a particular attribute.

Thanks!

-- john


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: list of session objects associated w/ a context

Posted by Tim Lucia <ti...@yahoo.com>.
> -----Original Message-----
> From: John Cartwright [mailto:John.C.Cartwright@noaa.gov]
> Sent: Wednesday, March 14, 2007 11:47 AM
> To: users@tomcat.apache.org
> Subject: list of session objects associated w/ a context
> 
> Hello All,
> 
> Is there a simple way to get a list of the HttpSession objects
> associated w/ a particular context?  I know that I can send a request to
> the Manager servlet, but I'm looking to get the objects themselves.  I
> need to examine each session for a particular attribute.

I've used a filter to examine the session objects for any given request(s)
[which match the filter pattern] while looking for objects which were not
serializable -- while moving to the clustered / distributable model.  Not
knowing exactly what you want to do with this, I can't determine if this
idea is helpful or not.

Tim

> 
> Thanks!
> 
> -- john
> 
> 
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org




---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org