On Monday 01 July 2002 10:43, Henner Zeller wrote: > Hi, > > > 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()).
Yes, I was thinking this when I read your mail. I'm now putting a valve in each relevant Context and using a static Hashtable. Sick, I know, but it seems I have no other choice for now. John -- John Baker, BSc CS. Java Developer, TEAM/Slb. http://www.teamenergy.com Views expressed in this mail are my own. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>