diff --git a/openbis/resource/server/web.xml b/openbis/resource/server/web.xml
index a29ba66f005236601c0c180950c5e26e1b9d056b..2700ba66b8bc3825039f624a9c5a5f3113c01bb4 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