summaryrefslogtreecommitdiffstats
path: root/src/main/java
diff options
context:
space:
mode:
authorJoel Johnson <joel.johnson@issinc.com>2015-06-26 15:46:34 -0600
committerJoel Johnson <joel.johnson@issinc.com>2015-06-29 10:19:07 -0600
commit28980c3d6d989b900d02e3357473294561334e4a (patch)
tree89f53e855864179ff7a297efd42d1589a732bedd /src/main/java
parenta909bf1333d9e9bcdc5e87a17642211e6fa8f036 (diff)
downloadgitblit-28980c3d6d989b900d02e3357473294561334e4a.tar.gz
gitblit-28980c3d6d989b900d02e3357473294561334e4a.zip
use JEE 3.0 to allow cookie session tracking
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/WEB-INF/web.xml7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/main/java/WEB-INF/web.xml b/src/main/java/WEB-INF/web.xml
index 88422249..db772153 100644
--- a/src/main/java/WEB-INF/web.xml
+++ b/src/main/java/WEB-INF/web.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.4"
xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
+ xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_3_0.xsd">
<!-- The base folder is used to specify the root location of your Gitblit data.
@@ -45,5 +45,8 @@
<filter-name>guiceFilter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
-
+
+ <session-config>
+ <tracking-mode>COOKIE</tracking-mode>
+ </session-config>
</web-app> \ No newline at end of file