Groups > Weblogic > WebLogic developer examples > Re: Error validating web.xml when session-timeout=-1




Re: Error validating web.xml when session-timeout=-1

Re: Error validating web.xml when session-timeout=-1
Fri, 1 Jun 2007 20:14:07 -0700
Hi,
  You should fill a bug report at Bea, as the standard says
"The session-timeout element defines the default session timeout interval
for all sessions created in this web application. The specified timeout must be
expressed in a whole number of minutes. If the timeout is 0 or less, the
container ensures the default behavior of sessions is never to time out. If this
element is not specified, the container must set its default timeout
period."

So "-1" is a valid value, and the session should not timeout.

Regards,
Post Reply
about | contact