struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Laurie Harper <lau...@holoweb.net>
Subject Re: hi, what is the difference between specify time out and do not specify the timeout value in the web.xml file
Date Tue, 13 May 2008 05:04:10 GMT
shrimpywu wrote:
> hi, what is the difference between specify time out and do not specify the
> timeout value in the web.xml file
> 
>    <session-config>
>         <session-timeout>30</session-timeout>
>      </session-config>

According to the Servlet specification, if you don't specify this 
session timeout will be set to the container's default (which will be 
server dependent).

> before, i do not specify this in the web.xml file
> when the session has been timeout, i sometime got some exception
> 
> but after i did that..no exception any more..why???

Without even knowing what the exception was there's no way to guess. 
You'd probably be better off trying to diagnose why the exception occurs 
in the first place, rather than ask why it goes away.

L.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message