I have a web application which allows user to log on and do whatever they need to do . After the user logs on, the screen is split into frames instead of one window. But after a while the session would time out if the user stops to work for reasons I don't know. When it times out if the user tries to do something, the web application would prompt the user to re-logon in the current frame, the frame that they last stopped working. How can I code my javascript to clear the entire frames back into one single window, re-execute my login screen to prompt the user to log back in? What do I need to do?