tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bob Hall <>
Subject Re: Retrieve certain session data inside a servlet
Date Fri, 02 Jun 2006 19:48:39 GMT

The javadoc indicates that the methods are deprecated,
but it looks like you could use:

HttpSession mySess = request.getSession();

// getSessionContext() is deprecated
HttpSessionContext sessCtx =

// getSession(String) is deprecated
HttpSession otherSess =


--- Carlos Alonso Vega <> wrote:

>  Thanks for the reply. My problem is that the
> session info I need is not 
> of the session that makes the request. I need to
> check other sessions in 
> the same context.  I can use the request because it
> is in the same 
> context, so the manager is the same.

Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 

To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message