tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 9318] - HttpSession getMaxInactiveInterval() throws IllegalStateException
Date Fri, 21 Jun 2002 17:56:57 GMT
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=9318>.
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=9318

HttpSession getMaxInactiveInterval() throws IllegalStateException





------- Additional Comments From bob@jadn.com  2002-06-21 17:56 -------

I reviewed the Servlet Specs and I agree with the poster.  This
patch stops the exception from being thrown.

Cheers,
-bob

Index: StandardSession.java
===================================================================
RCS file:
/home/cvspublic/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/session/StandardSession.java,v
retrieving revision 1.28
diff -r1.28 StandardSession.java
473,476d472
<         if (!isValid)
<             throw new IllegalStateException
<                 (sm.getString("standardSession.getMaxInactiveInterval.ise"));
<

--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message