Index: trunk/autoquest-htmlmonitor/src/main/java/de/ugoe/cs/autoquest/htmlmonitor/HtmlMonitorLogManager.java
===================================================================
--- trunk/autoquest-htmlmonitor/src/main/java/de/ugoe/cs/autoquest/htmlmonitor/HtmlMonitorLogManager.java	(revision 1746)
+++ trunk/autoquest-htmlmonitor/src/main/java/de/ugoe/cs/autoquest/htmlmonitor/HtmlMonitorLogManager.java	(revision 1821)
@@ -119,10 +119,11 @@
                               HtmlEvent[]     events)
     {
-        HtmlMonitorOutputWriter writer = writers.get(clientInfos.getClientId());
+        HtmlMonitorOutputWriter writer =
+            writers.get(clientInfos.getClientId() + clientInfos.getUrl());
         
         try {
             if (writer == null) {
                 synchronized (this) {
-                    writer = writers.get(clientInfos.getClientId());
+                    writer = writers.get(clientInfos.getClientId() + clientInfos.getUrl());
                     if (writer == null) {
                         writer = new HtmlMonitorOutputWriter
@@ -132,5 +133,5 @@
                         writer.init();
                         writer.start();
-                        writers.put(clientInfos.getClientId(), writer);
+                        writers.put(clientInfos.getClientId() + clientInfos.getUrl(), writer);
                     }
                 }
@@ -147,5 +148,5 @@
             // determine, if the writer exists but is not able to log something. In this case,
             // destroy the writer (part of the message may be logged twice through this).
-            writer = writers.get(clientInfos.getClientId());
+            writer = writers.get(clientInfos.getClientId() + clientInfos.getUrl());
             if (writer != null) {
                 try {
@@ -154,5 +155,5 @@
                 catch (Exception e1) {
                     synchronized (this) {
-                        writers.remove(clientInfos.getClientId());
+                        writers.remove(clientInfos.getClientId() + clientInfos.getUrl());
                         writer.stop();
                     }
@@ -186,6 +187,6 @@
                 }
                 
-                for (String clientId : timeoutSessions) {
-                    HtmlMonitorOutputWriter writer = writers.remove(clientId);
+                for (String sessionId : timeoutSessions) {
+                    HtmlMonitorOutputWriter writer = writers.remove(sessionId);
                     writer.stop();
                 }
