diff options
author | James Moger <james.moger@gmail.com> | 2015-06-30 08:46:22 -0400 |
---|---|---|
committer | James Moger <james.moger@gmail.com> | 2015-06-30 08:46:22 -0400 |
commit | 1ffca12a80cd53e71813301787e8cfeeedb43293 (patch) | |
tree | 89f53e855864179ff7a297efd42d1589a732bedd | |
parent | a909bf1333d9e9bcdc5e87a17642211e6fa8f036 (diff) | |
parent | 28980c3d6d989b900d02e3357473294561334e4a (diff) | |
download | gitblit-1ffca12a80cd53e71813301787e8cfeeedb43293.tar.gz gitblit-1ffca12a80cd53e71813301787e8cfeeedb43293.zip |
Merge pull request #275 from mrjoel/mrjoel-cookiesession3.0
use JEE 3.0 to allow cookie session tracking
-rw-r--r-- | src/main/java/WEB-INF/web.xml | 7 |
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 |