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 12:17 -------
BTW: In my earlier submits I said IllegalArgumentException but meant
IllegalStateException.

My problem occurs in 5.0.16, 5.0.18, nightly build (01/21/2004) because of the
following code in catalina.session.StandardSession (the implementation-excerpts
below haven't changed since 5.0.16):

invalidate () { expire(); }
expire () { expire(true); }
expire(boolean)
{
this.expiring=true;
//invalidate session
this.expiring=false;
}

getAttribute()
{
if (! isValid()) throw IllegalStateException ();
...
}

isValid()
{
if (this.expiring) return true;
...
}

So while the invalidation the session is always valid.

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

Reply via email to