From ec543939e7ee2775f222a707b6baac74f24694c0 Mon Sep 17 00:00:00 2001
From: buczekp <buczekp>
Date: Tue, 26 Jan 2010 14:21:27 +0000
Subject: [PATCH] [LMS-1291] fixed ('Allow openBIS to contact DSS in hosted
 mode')

SVN: 14459
---
 openbis/resource/server/web.xml | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/openbis/resource/server/web.xml b/openbis/resource/server/web.xml
index a29ba66f005..2700ba66b8b 100644
--- a/openbis/resource/server/web.xml
+++ b/openbis/resource/server/web.xml
@@ -21,6 +21,16 @@
         <param-value>ch.systemsx.cisd.openbis.BuildAndEnvironmentInfo</param-value>
     </context-param>
 
+    <context-param>
+        <!-- 
+        The path of cookie with openBIS session id needs to be set explicitly here. Otherwise 
+        this cookie will be overwritten with a cookie created for the openBIS-DSS session.
+        -->
+        <param-name>org.mortbay.jetty.servlet.SessionPath</param-name>
+        <param-value>/openbis</param-value>
+    </context-param>
+
+
     <listener>
         <listener-class>
             ch.systemsx.cisd.openbis.generic.server.GenericHttpSessionListener
-- 
GitLab