Logout and session ending

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: logout and session ending

Try this link might be of some help:

http://www-10.lotus.com/ldd/nd6forum.nsf/55c38d716d632d9b8525689b005ba1c0/eb9b172c4c6524e9852573910053fa67?OpenDocument

HTH

Sai

Subject: RE: logout and session ending

The code which you have suggested is giving the same problem.