this does not mean the session will be cleaned immediately - it may get cleaned later by a lower priority thread
Whoa! where did that come from? My interpretation of the API and the Javadocs is that ALL bound references will be removed and any listeners notified before the call to invalidate returns. What happens to the previously bound objects is a completely different story.
The session object is then marked as invalid, any further attempt to use it in the
servlet will throw an
IllegalStateException.
What happens to the session object itself is up to the designer of the servlet engine - it might be discarded or recycled.
Bill
[ August 04, 2006: Message edited by: William Brogden ]