This is an automated email from the ASF dual-hosted git repository.

jleroux pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 9b09dd6  Improved: Add global web.xml to simplify session timeout 
configuration (OFBIZ-12255)
9b09dd6 is described below

commit 9b09dd61bbd7bc35014324a677f09a9c05b1983f
Author: Jacques Le Roux <jacques.le.r...@les7arts.com>
AuthorDate: Tue Jun 22 15:58:02 2021 +0200

    Improved: Add global web.xml to simplify session timeout configuration 
(OFBIZ-12255)
    
    Forgot to add/commit/push the new main, for session duration, web.xml file
---
 framework/catalina/config/web.xml | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/framework/catalina/config/web.xml 
b/framework/catalina/config/web.xml
new file mode 100644
index 0000000..d014070
--- /dev/null
+++ b/framework/catalina/config/web.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee";
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
+  xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee
+                      http://xmlns.jcp.org/xml/ns/javaee/web-app_4_0.xsd";
+  version="4.0">
+
+    <session-config>
+        <session-timeout>60</session-timeout><!-- in minutes -->
+    </session-config>
+
+</web-app>

Reply via email to