[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



Author: Karsten Loesing <karsten.loesing@xxxxxxx>
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