0

I have app running in IE mode in EDGE and i have one JSP page which opens in EDGE with window.open. My problem is when the new JSP page opens in EDGE it creates new session. How can I force JSP to not open new session and keep the original session. Because window.open() takes a new session and all the session variables are lost. So far i have tried with below code but it didnt work.

var url = "microsoft-edge:http://"+window.location.host+"/map.jsp?"+markers+"$"+"tyer";
          document.cookie = "JSESSIONID=<%=id%>; domain=window.location.host"
          window.open(url);

I want the main JSP page and new page in EDGE to have same session both are running under same domain.

Mike
  • 1
  • 2

0 Answers0