File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes HTML, CSS and JavaScript and the fly likes Frames Problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Frames Problem" Watch "Frames Problem" New topic

Frames Problem

Nitin Jaiswal

Joined: Dec 11, 2006
Posts: 2
I have an application, in which the user's session is automatically invalidated if the user doesn't use the application for 5 minutes. after which, on click of anything he is taken back to login page. Now i have lots of frames in my application and when i click on left frame on the left frame shows the login page whereas rest of the frames are not refreshed at all and still there. How do i make whole of the window refresh and show the login page in complete window? I tried top.location.href = login page in my logout page where the session clearing is being done. Please suggest a way to refresh whole page on click of a link in any frame when the session is timed out
Eric Pascarello

Joined: Nov 08, 2001
Posts: 15385
Put a frame breaker on the login page.

Nitin Jaiswal

Joined: Dec 11, 2006
Posts: 2
It worked... thanks
I agree. Here's the link:
subject: Frames Problem
It's not a secret anymore!