On Wed, 14 Nov 2001, Mo�s G�bor wrote:

> sessionDestroyed happens AFTER the session is invalidated or BEFORE it
> is about to be invalidated? The former seems to be the case. Then there
> is no way I can get the attributes from an already invalid session,
> right?
My suggestion would be to cache the attributes you need, within your
program, indexed on session ID. I beleive you can still get the session
ID, at least.

This does however make a good point - a "SessionAboutToBeDestroyed" method
may prove useful (although hopefully with a shorter name!). Perhaps in a
newer version of the servlet API standard.

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to