You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2002/06/21 19:56:57 UTC
DO NOT REPLY [Bug 9318] -
HttpSession getMaxInactiveInterval() throws IllegalStateException
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: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>