users@glassfish.java.net

Re: should HttpSession.getAttribute(String) expire a session?

From: Bobby Bissett <bbissett_at_gmail.com>
Date: Mon, 13 Aug 2012 11:21:27 -0400

> [...] I'll try to write a small test app to try
> this with 3.1.1.

Argh, I can't reproduce this in a simple case. When I try to do so, I
see the session listener's sessionDestroyed() method called in the
same thread as the session invalidate() call before it returns, which
is what I'd expect and which would avoid the trouble I'm seeing.

In the meantime, will rewrite my code to assume that getAtt can call
my session listener in the same thread.

Thanks,
Bobby