Logout and Open a page in a new window

Hello,

I have 3 frames and I have Logout action hotspot in one of the frame. I have following code, for “logout”,

var urlpath = window.location.pathname;

dbpath = urlpath.substring(0,(urlpath.lastIndexOf(“.nsf”)+5));

parent.top.location.href=“.”+dbpath+ “?logout”

It works, and opens a logout page within that frame.

Instead I want to open a page in a new window. At the same time close the previous page, I tried one of the code as follows,

window.open(path+“?logout&redirectto=”+path+“/Logout?Openpage”), but by doing this, previous page is still visible and accessible by user.

Any idea what I am missing in the code?

Thanks

MS

Subject: Logout and Open a page in a new window

Here’s what I use:

xxURL := “your url”;

@SetTargetFrame(“_top”) ;

@URLOpen(“?Logout&RedirectTo=” + xxURL)

I hope this helps!

Dave