Author: jleroux
Date: Fri Jan 11 16:12:01 2019 New Revision: 1851068 URL: http://svn.apache.org/viewvc?rev=1851068&view=rev Log: Fixed: Add session tracking mode and make cookie secure (OFBIZ-6655) Following "Session timeout for webapps" discussion on dev ML https://markmail.org/message/p6fbiojjrwb2ybxd We decided to put back the session-timeout value in web.xml files and to remove the line session.setMaxInactiveInterval(60*60); //in seconds from ControlEventListener.java Thanks: Deepak Nigam for report and Girish Vasmatkar for discussion Modified: ofbiz/ofbiz-framework/trunk/applications/accounting/webapp/accounting/WEB-INF/web.xml ofbiz/ofbiz-framework/trunk/applications/accounting/webapp/ap/WEB-INF/web.xml ofbiz/ofbiz-framework/trunk/applications/accounting/webapp/ar/WEB-INF/web.xml ofbiz/ofbiz-framework/trunk/applications/commonext/webapp/ofbizsetup/WEB-INF/web.xml ofbiz/ofbiz-framework/trunk/applications/content/webapp/content/WEB-INF/web.xml ofbiz/ofbiz-framework/trunk/applications/humanres/webapp/humanres/WEB-INF/web.xml ofbiz/ofbiz-framework/trunk/applications/manufacturing/webapp/manufacturing/WEB-INF/web.xml ofbiz/ofbiz-framework/trunk/applications/marketing/webapp/sfa/WEB-INF/web.xml ofbiz/ofbiz-framework/trunk/applications/order/webapp/ordermgr/WEB-INF/web.xml ofbiz/ofbiz-framework/trunk/applications/product/webapp/catalog/WEB-INF/web.xml ofbiz/ofbiz-framework/trunk/applications/product/webapp/facility/WEB-INF/web.xml ofbiz/ofbiz-framework/trunk/applications/workeffort/webapp/ical/WEB-INF/web.xml ofbiz/ofbiz-framework/trunk/applications/workeffort/webapp/workeffort/WEB-INF/web.xml ofbiz/ofbiz-framework/trunk/framework/resources/templates/web.xml ofbiz/ofbiz-framework/trunk/framework/webapp/src/main/java/org/apache/ofbiz/webapp/control/ControlEventListener.java ofbiz/ofbiz-framework/trunk/framework/webtools/webapp/webtools/WEB-INF/web.xml ofbiz/ofbiz-plugins/trunk/assetmaint/webapp/assetmaint/WEB-INF/web.xml ofbiz/ofbiz-plugins/trunk/assetmaint/webapp/ismgr/WEB-INF/web.xml ofbiz/ofbiz-plugins/trunk/bi/webapp/bi/WEB-INF/web.xml ofbiz/ofbiz-plugins/trunk/birt/webapp/accounting/WEB-INF/web.xml ofbiz/ofbiz-plugins/trunk/birt/webapp/birt/WEB-INF/web.xml ofbiz/ofbiz-plugins/trunk/birt/webapp/facility/WEB-INF/web.xml ofbiz/ofbiz-plugins/trunk/birt/webapp/ordermgr/WEB-INF/web.xml ofbiz/ofbiz-plugins/trunk/cmssite/webapp/cmssite/WEB-INF/web.xml ofbiz/ofbiz-plugins/trunk/ebay/webapp/ebay/WEB-INF/web.xml ofbiz/ofbiz-plugins/trunk/ebaystore/webapp/ebaystore/WEB-INF/web.xml ofbiz/ofbiz-plugins/trunk/ecommerce/webapp/ecommerce/WEB-INF/web.xml ofbiz/ofbiz-plugins/trunk/ecommerce/webapp/ecomseo/WEB-INF/web.xml ofbiz/ofbiz-plugins/trunk/example/webapp/example/WEB-INF/web.xml ofbiz/ofbiz-plugins/trunk/exampleext/webapp/exampleext/WEB-INF/web.xml ofbiz/ofbiz-plugins/trunk/lucene/webapp/content/WEB-INF/web.xml ofbiz/ofbiz-plugins/trunk/myportal/webapp/myportal/WEB-INF/web.xml ofbiz/ofbiz-plugins/trunk/pricat/webapp/pricat/WEB-INF/web.xml ofbiz/ofbiz-plugins/trunk/pricat/webapp/pricatdemo/WEB-INF/web.xml ofbiz/ofbiz-plugins/trunk/projectmgr/webapp/projectmgr/WEB-INF/web.xml ofbiz/ofbiz-plugins/trunk/scrum/webapp/demotest/WEB-INF/web.xml ofbiz/ofbiz-plugins/trunk/scrum/webapp/scrum/WEB-INF/web.xml ofbiz/ofbiz-plugins/trunk/solr/webapp/solr/WEB-INF/web.xml ofbiz/ofbiz-plugins/trunk/webpos/webapp/webpos/WEB-INF/web.xml Modified: ofbiz/ofbiz-framework/trunk/applications/accounting/webapp/accounting/WEB-INF/web.xml URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/accounting/webapp/accounting/WEB-INF/web.xml?rev=1851068&r1=1851067&r2=1851068&view=diff ============================================================================== --- ofbiz/ofbiz-framework/trunk/applications/accounting/webapp/accounting/WEB-INF/web.xml (original) +++ ofbiz/ofbiz-framework/trunk/applications/accounting/webapp/accounting/WEB-INF/web.xml Fri Jan 11 16:12:01 2019 @@ -88,6 +88,9 @@ under the License. <url-pattern>/control/*</url-pattern> </servlet-mapping> + <session-config> + <session-timeout>60</session-timeout><!-- in minutes --> + </session-config> <welcome-file-list> <welcome-file>index.jsp</welcome-file> Modified: ofbiz/ofbiz-framework/trunk/applications/accounting/webapp/ap/WEB-INF/web.xml URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/accounting/webapp/ap/WEB-INF/web.xml?rev=1851068&r1=1851067&r2=1851068&view=diff ============================================================================== --- ofbiz/ofbiz-framework/trunk/applications/accounting/webapp/ap/WEB-INF/web.xml (original) +++ ofbiz/ofbiz-framework/trunk/applications/accounting/webapp/ap/WEB-INF/web.xml Fri Jan 11 16:12:01 2019 @@ -81,6 +81,11 @@ under the License. <servlet-name>ControlServlet</servlet-name> <url-pattern>/control/*</url-pattern> </servlet-mapping> + + <session-config> + <session-timeout>60</session-timeout><!-- in minutes --> + </session-config> + <welcome-file-list> <welcome-file>index.jsp</welcome-file> <welcome-file>index.html</welcome-file> Modified: ofbiz/ofbiz-framework/trunk/applications/accounting/webapp/ar/WEB-INF/web.xml URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/accounting/webapp/ar/WEB-INF/web.xml?rev=1851068&r1=1851067&r2=1851068&view=diff ============================================================================== --- ofbiz/ofbiz-framework/trunk/applications/accounting/webapp/ar/WEB-INF/web.xml (original) +++ ofbiz/ofbiz-framework/trunk/applications/accounting/webapp/ar/WEB-INF/web.xml Fri Jan 11 16:12:01 2019 @@ -88,6 +88,9 @@ under the License. <url-pattern>/control/*</url-pattern> </servlet-mapping> + <session-config> + <session-timeout>60</session-timeout><!-- in minutes --> + </session-config> <welcome-file-list> <welcome-file>index.jsp</welcome-file> Modified: ofbiz/ofbiz-framework/trunk/applications/commonext/webapp/ofbizsetup/WEB-INF/web.xml URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/commonext/webapp/ofbizsetup/WEB-INF/web.xml?rev=1851068&r1=1851067&r2=1851068&view=diff ============================================================================== --- ofbiz/ofbiz-framework/trunk/applications/commonext/webapp/ofbizsetup/WEB-INF/web.xml (original) +++ ofbiz/ofbiz-framework/trunk/applications/commonext/webapp/ofbizsetup/WEB-INF/web.xml Fri Jan 11 16:12:01 2019 @@ -80,8 +80,11 @@ <servlet-name>ControlServlet</servlet-name> <url-pattern>/control/*</url-pattern> </servlet-mapping> - - + + <session-config> + <session-timeout>60</session-timeout><!-- in minutes --> + </session-config> + <welcome-file-list> <welcome-file>index.jsp</welcome-file> </welcome-file-list> Modified: ofbiz/ofbiz-framework/trunk/applications/content/webapp/content/WEB-INF/web.xml URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/content/webapp/content/WEB-INF/web.xml?rev=1851068&r1=1851067&r2=1851068&view=diff ============================================================================== --- ofbiz/ofbiz-framework/trunk/applications/content/webapp/content/WEB-INF/web.xml (original) +++ ofbiz/ofbiz-framework/trunk/applications/content/webapp/content/WEB-INF/web.xml Fri Jan 11 16:12:01 2019 @@ -88,6 +88,9 @@ under the License. <url-pattern>/control/*</url-pattern> </servlet-mapping> + <session-config> + <session-timeout>60</session-timeout><!-- in minutes --> + </session-config> <welcome-file-list> <welcome-file>index.jsp</welcome-file> Modified: ofbiz/ofbiz-framework/trunk/applications/humanres/webapp/humanres/WEB-INF/web.xml URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/humanres/webapp/humanres/WEB-INF/web.xml?rev=1851068&r1=1851067&r2=1851068&view=diff ============================================================================== --- ofbiz/ofbiz-framework/trunk/applications/humanres/webapp/humanres/WEB-INF/web.xml (original) +++ ofbiz/ofbiz-framework/trunk/applications/humanres/webapp/humanres/WEB-INF/web.xml Fri Jan 11 16:12:01 2019 @@ -83,6 +83,9 @@ under the License. <url-pattern>/control/*</url-pattern> </servlet-mapping> + <session-config> + <session-timeout>60</session-timeout><!-- in minutes --> + </session-config> <welcome-file-list> <welcome-file>index.jsp</welcome-file> Modified: ofbiz/ofbiz-framework/trunk/applications/manufacturing/webapp/manufacturing/WEB-INF/web.xml URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/manufacturing/webapp/manufacturing/WEB-INF/web.xml?rev=1851068&r1=1851067&r2=1851068&view=diff ============================================================================== --- ofbiz/ofbiz-framework/trunk/applications/manufacturing/webapp/manufacturing/WEB-INF/web.xml (original) +++ ofbiz/ofbiz-framework/trunk/applications/manufacturing/webapp/manufacturing/WEB-INF/web.xml Fri Jan 11 16:12:01 2019 @@ -88,6 +88,9 @@ under the License. <url-pattern>/control/*</url-pattern> </servlet-mapping> + <session-config> + <session-timeout>60</session-timeout><!-- in minutes --> + </session-config> <welcome-file-list> <welcome-file>index.jsp</welcome-file> Modified: ofbiz/ofbiz-framework/trunk/applications/marketing/webapp/sfa/WEB-INF/web.xml URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/marketing/webapp/sfa/WEB-INF/web.xml?rev=1851068&r1=1851067&r2=1851068&view=diff ============================================================================== --- ofbiz/ofbiz-framework/trunk/applications/marketing/webapp/sfa/WEB-INF/web.xml (original) +++ ofbiz/ofbiz-framework/trunk/applications/marketing/webapp/sfa/WEB-INF/web.xml Fri Jan 11 16:12:01 2019 @@ -83,6 +83,9 @@ under the License. <url-pattern>/control/*</url-pattern> </servlet-mapping> + <session-config> + <session-timeout>60</session-timeout><!-- in minutes --> + </session-config> <welcome-file-list> <welcome-file>index.jsp</welcome-file> Modified: ofbiz/ofbiz-framework/trunk/applications/order/webapp/ordermgr/WEB-INF/web.xml URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/order/webapp/ordermgr/WEB-INF/web.xml?rev=1851068&r1=1851067&r2=1851068&view=diff ============================================================================== --- ofbiz/ofbiz-framework/trunk/applications/order/webapp/ordermgr/WEB-INF/web.xml (original) +++ ofbiz/ofbiz-framework/trunk/applications/order/webapp/ordermgr/WEB-INF/web.xml Fri Jan 11 16:12:01 2019 @@ -95,6 +95,9 @@ under the License. <url-pattern>/products/*</url-pattern> </servlet-mapping> + <session-config> + <session-timeout>60</session-timeout><!-- in minutes --> + </session-config> <welcome-file-list> <welcome-file>index.jsp</welcome-file> Modified: ofbiz/ofbiz-framework/trunk/applications/product/webapp/catalog/WEB-INF/web.xml URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/product/webapp/catalog/WEB-INF/web.xml?rev=1851068&r1=1851067&r2=1851068&view=diff ============================================================================== --- ofbiz/ofbiz-framework/trunk/applications/product/webapp/catalog/WEB-INF/web.xml (original) +++ ofbiz/ofbiz-framework/trunk/applications/product/webapp/catalog/WEB-INF/web.xml Fri Jan 11 16:12:01 2019 @@ -96,6 +96,10 @@ under the License. <servlet-name>ImageUrlServlet</servlet-name> <url-pattern>/images/*</url-pattern> </servlet-mapping> + + <session-config> + <session-timeout>60</session-timeout><!-- in minutes --> + </session-config> <welcome-file-list> <welcome-file>index.jsp</welcome-file> Modified: ofbiz/ofbiz-framework/trunk/applications/product/webapp/facility/WEB-INF/web.xml URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/product/webapp/facility/WEB-INF/web.xml?rev=1851068&r1=1851067&r2=1851068&view=diff ============================================================================== --- ofbiz/ofbiz-framework/trunk/applications/product/webapp/facility/WEB-INF/web.xml (original) +++ ofbiz/ofbiz-framework/trunk/applications/product/webapp/facility/WEB-INF/web.xml Fri Jan 11 16:12:01 2019 @@ -99,6 +99,9 @@ under the License. <url-pattern>/ShippingAPI.dll</url-pattern> </servlet-mapping> + <session-config> + <session-timeout>60</session-timeout><!-- in minutes --> + </session-config> <welcome-file-list> <welcome-file>index.jsp</welcome-file> Modified: ofbiz/ofbiz-framework/trunk/applications/workeffort/webapp/ical/WEB-INF/web.xml URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/workeffort/webapp/ical/WEB-INF/web.xml?rev=1851068&r1=1851067&r2=1851068&view=diff ============================================================================== --- ofbiz/ofbiz-framework/trunk/applications/workeffort/webapp/ical/WEB-INF/web.xml (original) +++ ofbiz/ofbiz-framework/trunk/applications/workeffort/webapp/ical/WEB-INF/web.xml Fri Jan 11 16:12:01 2019 @@ -86,6 +86,10 @@ under the License. <url-pattern>/*</url-pattern> </servlet-mapping> + <session-config> + <session-timeout>60</session-timeout><!-- in minutes --> + </session-config> + <welcome-file-list> <welcome-file>index.jsp</welcome-file> </welcome-file-list> Modified: ofbiz/ofbiz-framework/trunk/applications/workeffort/webapp/workeffort/WEB-INF/web.xml URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/workeffort/webapp/workeffort/WEB-INF/web.xml?rev=1851068&r1=1851067&r2=1851068&view=diff ============================================================================== --- ofbiz/ofbiz-framework/trunk/applications/workeffort/webapp/workeffort/WEB-INF/web.xml (original) +++ ofbiz/ofbiz-framework/trunk/applications/workeffort/webapp/workeffort/WEB-INF/web.xml Fri Jan 11 16:12:01 2019 @@ -89,6 +89,10 @@ under the License. <url-pattern>/control/*</url-pattern> </servlet-mapping> + <session-config> + <session-timeout>60</session-timeout><!-- in minutes --> + </session-config> + <welcome-file-list> <welcome-file>index.jsp</welcome-file> </welcome-file-list> Modified: ofbiz/ofbiz-framework/trunk/framework/resources/templates/web.xml URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/framework/resources/templates/web.xml?rev=1851068&r1=1851067&r2=1851068&view=diff ============================================================================== --- ofbiz/ofbiz-framework/trunk/framework/resources/templates/web.xml (original) +++ ofbiz/ofbiz-framework/trunk/framework/resources/templates/web.xml Fri Jan 11 16:12:01 2019 @@ -78,6 +78,10 @@ under the License. </servlet> <servlet-mapping><servlet-name>ControlServlet</servlet-name><url-pattern>/control/*</url-pattern></servlet-mapping> + <session-config> + <session-timeout>60</session-timeout><!-- in minutes --> + </session-config> + <welcome-file-list> <welcome-file>index.jsp</welcome-file> <welcome-file>index.html</welcome-file> Modified: ofbiz/ofbiz-framework/trunk/framework/webapp/src/main/java/org/apache/ofbiz/webapp/control/ControlEventListener.java URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/framework/webapp/src/main/java/org/apache/ofbiz/webapp/control/ControlEventListener.java?rev=1851068&r1=1851067&r2=1851068&view=diff ============================================================================== --- ofbiz/ofbiz-framework/trunk/framework/webapp/src/main/java/org/apache/ofbiz/webapp/control/ControlEventListener.java (original) +++ ofbiz/ofbiz-framework/trunk/framework/webapp/src/main/java/org/apache/ofbiz/webapp/control/ControlEventListener.java Fri Jan 11 16:12:01 2019 @@ -52,7 +52,6 @@ public class ControlEventListener implem public void sessionCreated(HttpSessionEvent event) { HttpSession session = event.getSession(); - session.setMaxInactiveInterval(60*60); //in seconds // get/create the visit // NOTE: don't create the visit here, just let the control servlet do it; GenericValue visit = VisitHandler.getVisit(session); Modified: ofbiz/ofbiz-framework/trunk/framework/webtools/webapp/webtools/WEB-INF/web.xml URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/framework/webtools/webapp/webtools/WEB-INF/web.xml?rev=1851068&r1=1851067&r2=1851068&view=diff ============================================================================== --- ofbiz/ofbiz-framework/trunk/framework/webtools/webapp/webtools/WEB-INF/web.xml (original) +++ ofbiz/ofbiz-framework/trunk/framework/webtools/webapp/webtools/WEB-INF/web.xml Fri Jan 11 16:12:01 2019 @@ -93,6 +93,10 @@ under the License. <url-pattern>/control/*</url-pattern> </servlet-mapping> + <session-config> + <session-timeout>60</session-timeout><!-- in minutes --> + </session-config> + <welcome-file-list> <welcome-file>index.jsp</welcome-file> </welcome-file-list> Modified: ofbiz/ofbiz-plugins/trunk/assetmaint/webapp/assetmaint/WEB-INF/web.xml URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/assetmaint/webapp/assetmaint/WEB-INF/web.xml?rev=1851068&r1=1851067&r2=1851068&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/assetmaint/webapp/assetmaint/WEB-INF/web.xml (original) +++ ofbiz/ofbiz-plugins/trunk/assetmaint/webapp/assetmaint/WEB-INF/web.xml Fri Jan 11 16:12:01 2019 @@ -103,6 +103,10 @@ <url-pattern>/control/*</url-pattern> </servlet-mapping> + <session-config> + <session-timeout>60</session-timeout><!-- in minutes --> + </session-config> + <welcome-file-list> <welcome-file>index.jsp</welcome-file> <welcome-file>index.html</welcome-file> Modified: ofbiz/ofbiz-plugins/trunk/assetmaint/webapp/ismgr/WEB-INF/web.xml URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/assetmaint/webapp/ismgr/WEB-INF/web.xml?rev=1851068&r1=1851067&r2=1851068&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/assetmaint/webapp/ismgr/WEB-INF/web.xml (original) +++ ofbiz/ofbiz-plugins/trunk/assetmaint/webapp/ismgr/WEB-INF/web.xml Fri Jan 11 16:12:01 2019 @@ -98,6 +98,10 @@ <url-pattern>/control/*</url-pattern> </servlet-mapping> + <session-config> + <session-timeout>60</session-timeout><!-- in minutes --> + </session-config> + <welcome-file-list> <welcome-file>index.jsp</welcome-file> <welcome-file>index.html</welcome-file> Modified: ofbiz/ofbiz-plugins/trunk/bi/webapp/bi/WEB-INF/web.xml URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/bi/webapp/bi/WEB-INF/web.xml?rev=1851068&r1=1851067&r2=1851068&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/bi/webapp/bi/WEB-INF/web.xml (original) +++ ofbiz/ofbiz-plugins/trunk/bi/webapp/bi/WEB-INF/web.xml Fri Jan 11 16:12:01 2019 @@ -83,6 +83,10 @@ <url-pattern>/control/*</url-pattern> </servlet-mapping> + <session-config> + <session-timeout>60</session-timeout><!-- in minutes --> + </session-config> + <welcome-file-list> <welcome-file>index.jsp</welcome-file> <welcome-file>index.html</welcome-file> Modified: ofbiz/ofbiz-plugins/trunk/birt/webapp/accounting/WEB-INF/web.xml URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/birt/webapp/accounting/WEB-INF/web.xml?rev=1851068&r1=1851067&r2=1851068&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/birt/webapp/accounting/WEB-INF/web.xml (original) +++ ofbiz/ofbiz-plugins/trunk/birt/webapp/accounting/WEB-INF/web.xml Fri Jan 11 16:12:01 2019 @@ -89,6 +89,10 @@ under the License. <url-pattern>/control/*</url-pattern> </servlet-mapping> + <session-config> + <session-timeout>60</session-timeout><!-- in minutes --> + </session-config> + <welcome-file-list> <welcome-file>index.jsp</welcome-file> <welcome-file>index.html</welcome-file> Modified: ofbiz/ofbiz-plugins/trunk/birt/webapp/birt/WEB-INF/web.xml URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/birt/webapp/birt/WEB-INF/web.xml?rev=1851068&r1=1851067&r2=1851068&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/birt/webapp/birt/WEB-INF/web.xml (original) +++ ofbiz/ofbiz-plugins/trunk/birt/webapp/birt/WEB-INF/web.xml Fri Jan 11 16:12:01 2019 @@ -142,6 +142,9 @@ under the License. <url-pattern>/extract</url-pattern> </servlet-mapping> + <session-config> + <session-timeout>60</session-timeout><!-- in minutes --> + </session-config> <welcome-file-list> <welcome-file>index.jsp</welcome-file> Modified: ofbiz/ofbiz-plugins/trunk/birt/webapp/facility/WEB-INF/web.xml URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/birt/webapp/facility/WEB-INF/web.xml?rev=1851068&r1=1851067&r2=1851068&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/birt/webapp/facility/WEB-INF/web.xml (original) +++ ofbiz/ofbiz-plugins/trunk/birt/webapp/facility/WEB-INF/web.xml Fri Jan 11 16:12:01 2019 @@ -100,6 +100,10 @@ under the License. <url-pattern>/ShippingAPI.dll</url-pattern> </servlet-mapping> + <session-config> + <session-timeout>60</session-timeout><!-- in minutes --> + </session-config> + <welcome-file-list> <welcome-file>index.jsp</welcome-file> <welcome-file>index.html</welcome-file> Modified: ofbiz/ofbiz-plugins/trunk/birt/webapp/ordermgr/WEB-INF/web.xml URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/birt/webapp/ordermgr/WEB-INF/web.xml?rev=1851068&r1=1851067&r2=1851068&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/birt/webapp/ordermgr/WEB-INF/web.xml (original) +++ ofbiz/ofbiz-plugins/trunk/birt/webapp/ordermgr/WEB-INF/web.xml Fri Jan 11 16:12:01 2019 @@ -96,6 +96,10 @@ under the License. <url-pattern>/products/*</url-pattern> </servlet-mapping> + <session-config> + <session-timeout>60</session-timeout><!-- in minutes --> + </session-config> + <welcome-file-list> <welcome-file>index.jsp</welcome-file> <welcome-file>index.html</welcome-file> Modified: ofbiz/ofbiz-plugins/trunk/cmssite/webapp/cmssite/WEB-INF/web.xml URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/cmssite/webapp/cmssite/WEB-INF/web.xml?rev=1851068&r1=1851067&r2=1851068&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/cmssite/webapp/cmssite/WEB-INF/web.xml (original) +++ ofbiz/ofbiz-plugins/trunk/cmssite/webapp/cmssite/WEB-INF/web.xml Fri Jan 11 16:12:01 2019 @@ -75,6 +75,10 @@ under the License. <url-pattern>/*</url-pattern> </servlet-mapping> + <session-config> + <session-timeout>60</session-timeout><!-- in minutes --> + </session-config> + <welcome-file-list> <welcome-file>index.jsp</welcome-file> Modified: ofbiz/ofbiz-plugins/trunk/ebay/webapp/ebay/WEB-INF/web.xml URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/ebay/webapp/ebay/WEB-INF/web.xml?rev=1851068&r1=1851067&r2=1851068&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/ebay/webapp/ebay/WEB-INF/web.xml (original) +++ ofbiz/ofbiz-plugins/trunk/ebay/webapp/ebay/WEB-INF/web.xml Fri Jan 11 16:12:01 2019 @@ -86,6 +86,10 @@ under the License. <url-pattern>/control/*</url-pattern> </servlet-mapping> + <session-config> + <session-timeout>60</session-timeout><!-- in minutes --> + </session-config> + <welcome-file-list> <welcome-file>index.jsp</welcome-file> <welcome-file>index.html</welcome-file> Modified: ofbiz/ofbiz-plugins/trunk/ebaystore/webapp/ebaystore/WEB-INF/web.xml URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/ebaystore/webapp/ebaystore/WEB-INF/web.xml?rev=1851068&r1=1851067&r2=1851068&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/ebaystore/webapp/ebaystore/WEB-INF/web.xml (original) +++ ofbiz/ofbiz-plugins/trunk/ebaystore/webapp/ebaystore/WEB-INF/web.xml Fri Jan 11 16:12:01 2019 @@ -86,6 +86,10 @@ under the License. <url-pattern>/control/*</url-pattern> </servlet-mapping> + <session-config> + <session-timeout>60</session-timeout><!-- in minutes --> + </session-config> + <welcome-file-list> <welcome-file>index.jsp</welcome-file> <welcome-file>index.html</welcome-file> Modified: ofbiz/ofbiz-plugins/trunk/ecommerce/webapp/ecommerce/WEB-INF/web.xml URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/ecommerce/webapp/ecommerce/WEB-INF/web.xml?rev=1851068&r1=1851067&r2=1851068&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/ecommerce/webapp/ecommerce/WEB-INF/web.xml (original) +++ ofbiz/ofbiz-plugins/trunk/ecommerce/webapp/ecommerce/WEB-INF/web.xml Fri Jan 11 16:12:01 2019 @@ -149,6 +149,10 @@ under the License. <url-pattern>/products/*</url-pattern> </servlet-mapping> + <session-config> + <session-timeout>60</session-timeout><!-- in minutes --> + </session-config> + <welcome-file-list> <welcome-file>index.jsp</welcome-file> <welcome-file>index.html</welcome-file> Modified: ofbiz/ofbiz-plugins/trunk/ecommerce/webapp/ecomseo/WEB-INF/web.xml URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/ecommerce/webapp/ecomseo/WEB-INF/web.xml?rev=1851068&r1=1851067&r2=1851068&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/ecommerce/webapp/ecomseo/WEB-INF/web.xml (original) +++ ofbiz/ofbiz-plugins/trunk/ecommerce/webapp/ecomseo/WEB-INF/web.xml Fri Jan 11 16:12:01 2019 @@ -151,6 +151,10 @@ under the License. <url-pattern>/products/*</url-pattern> </servlet-mapping> + <session-config> + <session-timeout>60</session-timeout><!-- in minutes --> + </session-config> + <welcome-file-list> <welcome-file>index.jsp</welcome-file> <welcome-file>index.html</welcome-file> Modified: ofbiz/ofbiz-plugins/trunk/example/webapp/example/WEB-INF/web.xml URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/example/webapp/example/WEB-INF/web.xml?rev=1851068&r1=1851067&r2=1851068&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/example/webapp/example/WEB-INF/web.xml (original) +++ ofbiz/ofbiz-plugins/trunk/example/webapp/example/WEB-INF/web.xml Fri Jan 11 16:12:01 2019 @@ -83,6 +83,9 @@ under the License. </servlet> <servlet-mapping><servlet-name>ControlServlet</servlet-name><url-pattern>/control/*</url-pattern></servlet-mapping> + <session-config> + <session-timeout>60</session-timeout><!-- in minutes --> + </session-config> <welcome-file-list> <welcome-file>index.jsp</welcome-file> Modified: ofbiz/ofbiz-plugins/trunk/exampleext/webapp/exampleext/WEB-INF/web.xml URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/exampleext/webapp/exampleext/WEB-INF/web.xml?rev=1851068&r1=1851067&r2=1851068&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/exampleext/webapp/exampleext/WEB-INF/web.xml (original) +++ ofbiz/ofbiz-plugins/trunk/exampleext/webapp/exampleext/WEB-INF/web.xml Fri Jan 11 16:12:01 2019 @@ -78,6 +78,9 @@ under the License. </servlet> <servlet-mapping><servlet-name>ControlServlet</servlet-name><url-pattern>/control/*</url-pattern></servlet-mapping> + <session-config> + <session-timeout>60</session-timeout><!-- in minutes --> + </session-config> <welcome-file-list> <welcome-file>index.jsp</welcome-file> Modified: ofbiz/ofbiz-plugins/trunk/lucene/webapp/content/WEB-INF/web.xml URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/lucene/webapp/content/WEB-INF/web.xml?rev=1851068&r1=1851067&r2=1851068&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/lucene/webapp/content/WEB-INF/web.xml (original) +++ ofbiz/ofbiz-plugins/trunk/lucene/webapp/content/WEB-INF/web.xml Fri Jan 11 16:12:01 2019 @@ -93,6 +93,10 @@ under the License. </servlet> <servlet-mapping><servlet-name>ControlServlet</servlet-name><url-pattern>/control/*</url-pattern></servlet-mapping> + <session-config> + <session-timeout>60</session-timeout><!-- in minutes --> + </session-config> + <welcome-file-list> <welcome-file>index.jsp</welcome-file> <welcome-file>index.html</welcome-file> Modified: ofbiz/ofbiz-plugins/trunk/myportal/webapp/myportal/WEB-INF/web.xml URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/myportal/webapp/myportal/WEB-INF/web.xml?rev=1851068&r1=1851067&r2=1851068&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/myportal/webapp/myportal/WEB-INF/web.xml (original) +++ ofbiz/ofbiz-plugins/trunk/myportal/webapp/myportal/WEB-INF/web.xml Fri Jan 11 16:12:01 2019 @@ -83,6 +83,10 @@ <url-pattern>/control/*</url-pattern> </servlet-mapping> + <session-config> + <session-timeout>60</session-timeout><!-- in minutes --> + </session-config> + <welcome-file-list> <welcome-file>index.jsp</welcome-file> <welcome-file>index.html</welcome-file> Modified: ofbiz/ofbiz-plugins/trunk/pricat/webapp/pricat/WEB-INF/web.xml URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/pricat/webapp/pricat/WEB-INF/web.xml?rev=1851068&r1=1851067&r2=1851068&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/pricat/webapp/pricat/WEB-INF/web.xml (original) +++ ofbiz/ofbiz-plugins/trunk/pricat/webapp/pricat/WEB-INF/web.xml Fri Jan 11 16:12:01 2019 @@ -83,6 +83,9 @@ under the License. </servlet> <servlet-mapping><servlet-name>ControlServlet</servlet-name><url-pattern>/control/*</url-pattern></servlet-mapping> + <session-config> + <session-timeout>60</session-timeout><!-- in minutes --> + </session-config> <welcome-file-list> <welcome-file>index.jsp</welcome-file> Modified: ofbiz/ofbiz-plugins/trunk/pricat/webapp/pricatdemo/WEB-INF/web.xml URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/pricat/webapp/pricatdemo/WEB-INF/web.xml?rev=1851068&r1=1851067&r2=1851068&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/pricat/webapp/pricatdemo/WEB-INF/web.xml (original) +++ ofbiz/ofbiz-plugins/trunk/pricat/webapp/pricatdemo/WEB-INF/web.xml Fri Jan 11 16:12:01 2019 @@ -83,6 +83,9 @@ under the License. </servlet> <servlet-mapping><servlet-name>ControlServlet</servlet-name><url-pattern>/control/*</url-pattern></servlet-mapping> + <session-config> + <session-timeout>60</session-timeout><!-- in minutes --> + </session-config> <welcome-file-list> <welcome-file>index.jsp</welcome-file> Modified: ofbiz/ofbiz-plugins/trunk/projectmgr/webapp/projectmgr/WEB-INF/web.xml URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/projectmgr/webapp/projectmgr/WEB-INF/web.xml?rev=1851068&r1=1851067&r2=1851068&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/projectmgr/webapp/projectmgr/WEB-INF/web.xml (original) +++ ofbiz/ofbiz-plugins/trunk/projectmgr/webapp/projectmgr/WEB-INF/web.xml Fri Jan 11 16:12:01 2019 @@ -82,6 +82,10 @@ <url-pattern>/control/*</url-pattern> </servlet-mapping> + <session-config> + <session-timeout>60</session-timeout><!-- in minutes --> + </session-config> + <welcome-file-list> <welcome-file>index.jsp</welcome-file> <welcome-file>index.html</welcome-file> Modified: ofbiz/ofbiz-plugins/trunk/scrum/webapp/demotest/WEB-INF/web.xml URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/scrum/webapp/demotest/WEB-INF/web.xml?rev=1851068&r1=1851067&r2=1851068&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/scrum/webapp/demotest/WEB-INF/web.xml (original) +++ ofbiz/ofbiz-plugins/trunk/scrum/webapp/demotest/WEB-INF/web.xml Fri Jan 11 16:12:01 2019 @@ -111,6 +111,10 @@ under the License. <url-pattern>/control/*</url-pattern> </servlet-mapping> + <session-config> + <session-timeout>60</session-timeout><!-- in minutes --> + </session-config> + <welcome-file-list> <welcome-file>index.jsp</welcome-file> Modified: ofbiz/ofbiz-plugins/trunk/scrum/webapp/scrum/WEB-INF/web.xml URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/scrum/webapp/scrum/WEB-INF/web.xml?rev=1851068&r1=1851067&r2=1851068&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/scrum/webapp/scrum/WEB-INF/web.xml (original) +++ ofbiz/ofbiz-plugins/trunk/scrum/webapp/scrum/WEB-INF/web.xml Fri Jan 11 16:12:01 2019 @@ -86,6 +86,10 @@ under the License. </servlet> <servlet-mapping><servlet-name>ControlServlet</servlet-name><url-pattern>/control/*</url-pattern></servlet-mapping> + <session-config> + <session-timeout>60</session-timeout><!-- in minutes --> + </session-config> + <welcome-file-list> <welcome-file>index.jsp</welcome-file> <welcome-file>index.html</welcome-file> Modified: ofbiz/ofbiz-plugins/trunk/solr/webapp/solr/WEB-INF/web.xml URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/solr/webapp/solr/WEB-INF/web.xml?rev=1851068&r1=1851067&r2=1851068&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/solr/webapp/solr/WEB-INF/web.xml (original) +++ ofbiz/ofbiz-plugins/trunk/solr/webapp/solr/WEB-INF/web.xml Fri Jan 11 16:12:01 2019 @@ -188,6 +188,10 @@ <mime-type>application/xslt+xml</mime-type> </mime-mapping> + <session-config> + <session-timeout>60</session-timeout><!-- in minutes --> + </session-config> + <welcome-file-list> <welcome-file>admin.html</welcome-file> </welcome-file-list> Modified: ofbiz/ofbiz-plugins/trunk/webpos/webapp/webpos/WEB-INF/web.xml URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/webpos/webapp/webpos/WEB-INF/web.xml?rev=1851068&r1=1851067&r2=1851068&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/webpos/webapp/webpos/WEB-INF/web.xml (original) +++ ofbiz/ofbiz-plugins/trunk/webpos/webapp/webpos/WEB-INF/web.xml Fri Jan 11 16:12:01 2019 @@ -101,6 +101,11 @@ <servlet-name>CatalogUrlServlet</servlet-name> <url-pattern>/products/*</url-pattern> </servlet-mapping> + + <session-config> + <session-timeout>60</session-timeout><!-- in minutes --> + </session-config> + <welcome-file-list> <welcome-file>index.jsp</welcome-file> <welcome-file>index.html</welcome-file> |
Free forum by Nabble | Edit this page |