JAL-4059 Tidy getting the namespace, and save the namespace in the Jalview instance...
[jalview.git] / src / jalview / io / HTMLOutput.java
index 0b541e2..711c465 100644 (file)
@@ -35,6 +35,8 @@ import jalview.datamodel.AlignmentExportData;
 import jalview.gui.AlignmentPanel;
 import jalview.gui.IProgressIndicator;
 import jalview.io.exceptions.ImageOutputException;
+import jalview.util.IdUtils;
+import jalview.util.IdUtils.IdType;
 import jalview.util.MessageManager;
 
 public abstract class HTMLOutput implements Runnable
@@ -68,7 +70,7 @@ public abstract class HTMLOutput implements Runnable
     this.ap = ap;
     this.pIndicator = ap.alignFrame;
     this.description = desc;
-    this.pSessionId = System.currentTimeMillis();
+    this.pSessionId = IdUtils.newId(IdType.PROGRESS);
   }
 
   /**