If you have a minute, I am trying this...
var parentWin=window.opener;
sessionStorage.setItem("TempWin",parentWin);
parentWin=sessionStorage.getItem("TempWin");
alert(parentWin.location.href);
But it's saying null object on the alert. Is it not possible to store a window in sessionStorage? Thank you very much.