Dear all,I’m using this JS to logout from my web application. It works on firefox. and in ie it gives double login page.
my frame set has 2 frames one with a page and the other with a form…how can i overcome this
here is my JS
if (window.confirm(“Are you sure you want to logout?”)) {
var strDatabase = location.pathname.slice(0,location.pathname.indexOf(“.nsf”))+“.nsf”;
//database path
var strRedirectURL = top.location.protocol+“//”+top.location.host+strDatabase+“?opendatabase”;
//redirect path
top.location.replace(“?Logout&redirectTo=”+strRedirectURL);
}