[or-cvs] [metrics-web/master] Tell Tomcat not to use cookies for session management.

karsten at torproject.org karsten at torproject.org
Thu Oct 14 10:17:32 UTC 2010


Author: Karsten Loesing <karsten.loesing at gmx.net>
Date: Thu, 14 Oct 2010 12:10:46 +0200
Subject: Tell Tomcat not to use cookies for session management.
Commit: 8afef40719f8955e36385698669acc8e8e7d4cc8

---
 build.xml       |    2 ++
 etc/context.xml |    2 ++
 2 files changed, 4 insertions(+), 0 deletions(-)
 create mode 100644 etc/context.xml

diff --git a/build.xml b/build.xml
index d444b91..dad4dd2 100644
--- a/build.xml
+++ b/build.xml
@@ -37,6 +37,8 @@
       <zipfileset dir="${config}"
                   prefix="WEB-INF/classes"
                   includes="logging.properties"/>
+      <metainf dir="${config}"
+               includes="context.xml"/>
     </war>
   </target>
 </project>
diff --git a/etc/context.xml b/etc/context.xml
new file mode 100644
index 0000000..0e7660f
--- /dev/null
+++ b/etc/context.xml
@@ -0,0 +1,2 @@
+<Context cookies="false"/>
+
-- 
1.7.1



More information about the tor-commits mailing list