"Christopher K. St. John" wrote: > "Craig R. McClanahan" wrote: > > > > If your server implements session swapping or distribution (as we are currently > > developing in the 4.1 repository), it is pretty much guaranteed that different > > session object instances may be used during the lifetime of the same session. > > > > But don't you get session lifecycle events if that happens? > Yes ... sessionWillPassivate() before the old session is removed, and sessionDidActivate() after the new one has been installed. My point in the remark above is that it is *not* a good assumption that a session instance will be the same physical object throughout the session's lifetime. And, on a servlet 2.2 based server, there is no mechanism to tell you when it changes, because the events are new to 2.3. > > -cks > Craig --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
- Re: NullPointerException from HttpSes... Hans Bergsten
- Re: NullPointerException from Htt... cmanolache
- Re: NullPointerException from HttpSession... Hans Bergsten
- Re: NullPointerException from HttpSes... Christopher K. St. John
- Re: NullPointerException from Htt... Hans Bergsten
- Re: NullPointerException fro... Christopher K. St. John
- Re: NullPointerException... Hans Bergsten
- Re: NullPointerException... Christopher K. St. John
- Re: NullPointerException... Craig R. McClanahan
- Re: NullPointerException... Christopher K. St. John
- Session passivation (was... Craig R. McClanahan
- Session passivation (was... Kief Morris
- Re: Session passivation ... Craig R. McClanahan
- Re: Session passivation ... Kief Morris
- Re: Session passivation ... Kief Morris
- one session for many web... Mihai Popoaei
- Re: one session for many... Craig R. McClanahan
- Re: one session for many... cmanolache
- Re: one session for many... Mihai Popoaei
- Re: NullPointerException from HttpSessionFacade.in... Gokul Singh
- Re: NullPointerException from HttpSessionFaca... Hans Bergsten