Problem in logging out

we have used log out action on left frameset. when user clickes on the log out action , it works properly. But if he logs in again immediately and again clicks on the log out action ,nothing happens. Please give solution for this problem??

we are using the following code for logout action button.

if (window.confirm(“Please confirm if you want to log out?”)) {

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 , u can hard code if you wish too

top.location.replace(“?Logout&redirectTo=”+strRedirectURL);

}

// redirect URL

Subject: problem in logging out

The problem is not solved by this solution. we want the page to be redirected to the same nsf. but it is not redirecting to same nsf. we don’ want to open a page.please give some solution??

Subject: problem in logging out

Buddy try this…it talks more sensible

http://www.notes411.com/dominosource/tips.nsf/0/1EE74C09D36563DE8025705D007FF685!opendocument