G
gvrajkumar
Hi
Popup window is opened and after some time session has expired. After
session expire, if the user tries to make any actions on the popup page
the user is redirected to login.jsp page.
What I want is when the user tries to make any actions on the expired
popup I want the popup window to be closed and parent window to be
refreshed with the login.jsp page. Basically I want identify the popup
window.
I did the following with some assumptions and it works on firefox but
not on IE.
Assumption: Popup window will not have address bar visible
added the function in onload of login.jsp
function onLoadLoginPage(){
if(window.locationbar.visible==false){
opener.location.href='login.jsp';
this.close();
}
}
any suggestions or solutions will be a great help
Thanks
venkat
Popup window is opened and after some time session has expired. After
session expire, if the user tries to make any actions on the popup page
the user is redirected to login.jsp page.
What I want is when the user tries to make any actions on the expired
popup I want the popup window to be closed and parent window to be
refreshed with the login.jsp page. Basically I want identify the popup
window.
I did the following with some assumptions and it works on firefox but
not on IE.
Assumption: Popup window will not have address bar visible
added the function in onload of login.jsp
function onLoadLoginPage(){
if(window.locationbar.visible==false){
opener.location.href='login.jsp';
this.close();
}
}
any suggestions or solutions will be a great help
Thanks
venkat