tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Henner Zeller <>
Subject Re: Valves, requests and getting the session
Date Mon, 01 Jul 2002 09:43:16 GMT

> Yes, I am. I need to check to see if certain objects are in the session and if 
> not, see if they are in another session that is pointed to by the Cookie id. 
> It's like SingleSignOn, but slightly different. However I'm a bit confused to 
> why I can't get a session, even when the rest of the app (the jsp pages etc) 
> are making good use of it.,
> The headers also show the session id, but oddly enough calling 
> HttpServletRequest.SessionIdFromCookie() returns true, but 
> HttpServletRequest.isRequestSessionIdvalid() returns false!

Maybe this is a similar problem I had when trying to fix the bug described 
in my previous posting: the Context is not yet set 
(HttpRequestBase.setContext()) at that stage - thus 
HttpServletRequest.isRequestSessionIdValid() will return false (see 
implementation of isRequestSessionIdValid()).


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message