Sorry we have a same session merge issue in another application and their code is like this:
<A onmouseover="window.status='AAAAA Home Page'; return true;" onfocus="window.status='AAAAA Home Page'; return true;"
onmouseout="window.status=''; return true;"
onblur="window.status=''; return true;"
title="HACPS Case Analysis"
class=MediumLinks
accessKey=N
href="javascript:displayCaseAnalysis()"
name="AAAAA">AAAAA</A>
function displayCaseAnalysis() {
var caseAnalysisURL = "https://aaaaa/bb" + "/searchDoc.action?caseNumber=" + "1520655" + "&folderNumber=" + "1264796";
var theDate = new Date;
var theDateTime = theDate.getTime();
var newScreenName = "CAA" + theDateTime;
window.open(caseAnalysisURL, newScreenName, "CAA");
}
window.open code above always starts second window sharing the same session with the first window for some reason. We verified that "newScreenName" value is unique each time when it is called.
We also tried this code but it doesn't make any difference:
function displayCaseAnalysis() {
var caseAnalysisURL = "https://aaaaa/bb" + "/searchDoc.action?caseNumber=" + "1520655" + "&folderNumber=" + "1264796";
var theDate = new Date;
var theDateTime = theDate.getTime();
var newScreenName = "CAA" + theDateTime;
window.open(caseAnalysisURL, newScreenName, '_blank', 'top=0 left=0; toolbar=0,location=0,directories=0,status=1,menubar=0,scrollbars=1,resizable=1,copyhistory=0, height=500 width=500');
}
Can you tell me what wrong with this code? We want each new window to open with its own session. They also use Edge with IE mode.
Thanks.
Ligong