]> source.dussan.org Git - gitblit.git/commitdiff
use JEE 3.0 to allow cookie session tracking 275/head
authorJoel Johnson <joel.johnson@issinc.com>
Fri, 26 Jun 2015 21:46:34 +0000 (15:46 -0600)
committerJoel Johnson <joel.johnson@issinc.com>
Mon, 29 Jun 2015 16:19:07 +0000 (10:19 -0600)
src/main/java/WEB-INF/web.xml

index 88422249236e9c948af5196d624228610dd69dcb..db7721539189ec3cc2c4a0f552b4bfe9d6515ae6 100644 (file)
@@ -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