DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26341>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26341

It's possible to call getAttribute() while session is invalidated without IAE





------- Additional Comments From [EMAIL PROTECTED]  2004-01-22 11:08 -------
If I understand you right, you want to set this bug to "will never be fixed" and
not the other (26051), right?
If this bug won't be fixed, it's not possible for bound objects to determine if
they are unbound because of a normal removeAttribute()-call or a
session-invalidation.
The following scenario is not possible with tomcat 5:
The bound object has to do nothing if the value is simply removed from the
session (e.g. it is replaced by a proxy object and later restored again) and has
to free some resources if the session is invalidated. 
With tomcat 4 I could call session.getAttribute() and catch the IAE to know the
session is invalid (session.isValid() would be a nice method) - this doesn't
work with tomcat 5.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to