A wise old hermit known only as Peak, John <[EMAIL PROTECTED]> once said:
> I would like to suggest a modification to the default value for > "sessiontimeout" for the "deploymentdescriptor" subtask. Currently if > you do not specify a value for this it defaults to 0. What version do you mean by "Currently"? This came up a while ago, and the template was changed to only include the value in the DD if you actually include the config parameter. > The XDoclet > documentation for "sessiontimeout" erroneously assumes that 0 means to > never timeout. If you are using WebLogic this is bad since 0 means that > the session should not be maintained at all. It does NOT mean that > sessions never timeout (setting session-timeout to -1 will do that). And in other app servers, 0 means never timeout... I wonder what the spec says? Feel free to raise an enhancement request to improve the docs, though. > My recommendation is that this value is not even added unless explicitly > defined in the "deploymentdescriptor" subtask. See version 1.8 of the template file at http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/xdoclet/xdoclet/modules/web /src/xdoclet/modules/web/resources/web_xml.xdt with the comment "session-config element now only appears if you actually define a sesstiontimeout config param.". AFAICS this has been the case since July 25... Andrew. ------------------------------------------------------- This sf.net email is sponsored by: Battle your brains against the best in the Thawte Crypto Challenge. Be the first to crack the code - register now: http://www.gothawte.com/rd521.html _______________________________________________ Xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
