Hi Team,We are using Chrome browser version 56. We are developing MVC application which supports multiple tabs(parent and child tab window).
When user clicks logoff button from child window.
Expected scenario:
The child tab window must be closed and parent tab must be transferred to login page of application.
When tested in IE browser, the code worked fine.
But when tested in Chrome browser, child tab gets closed but parent tab doesnt transfered to login page.
Please find the code used in our applcation.
if (logOff == "success") {
var parentwindow = window.opener;
if (parentwindow) {
parent.window.opener.document.location.href = "../Login/Login";
window.close();
}
}
The property window.opener.href tag is not working please help me in resolving this issue.
Please take this as an important one.
Regards,
Pradeep