I have a Frame based application, In this frame (Left page & Right page), all pages displays in the right page has LOGOUT button, when I click I'm ending the session and saying Thanks U message. Now the problem is when I click logout button, it is ending the session and Thank U message is shoing up in the right page itself. But I can still view Left page (menus). Ofcourse when I click on menus in left page, its not working bcoz of session end. But what I want is when U logout, whole frame should dissappeare and single page of Thank U message should come.