This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JSP and the fly likes Redirecting a framed page when session expires Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Redirecting a framed page when session expires" Watch "Redirecting a framed page when session expires" New topic
Author

Redirecting a framed page when session expires

kapil Gupta
Ranch Hand

Joined: Dec 17, 2001
Posts: 89
Hi,
My jsp page has two frames. The second frame contains a form which submits on the same page. If the session has expired, I redirect the control to the login page using sendRedirect method. But being a framed page, login page opens in one frame instead of the whole page. How can I open the login page in full browser window?
Thanx.
Shubhrajit Chatterjee
Ranch Hand

Joined: Aug 23, 2001
Posts: 356
When the user times out, first do a redirect to an intermediate page, which will open the login page in the main window using javascript
------------------
Shubhrajit
[This message has been edited by Shubhrajit Chatterjee (edited December 17, 2001).]


Shubhrajit
kapil Gupta
Ranch Hand

Joined: Dec 17, 2001
Posts: 89
Thanks Shubhrajit.
Your Solution worked but it causes some delay in displaying the error page. Is there any way I can redirect the page without using an intermediate page?
Originally posted by Shubhrajit Chatterjee:
When the user times out, first do a redirect to an intermediate page, which will open the login page in the main window using javascript

 
 
subject: Redirecting a framed page when session expires
 
Similar Threads
Selenium/Fitnesse and JSP
jsp forwarding to a target frame
Response is displayed but IE status bar is still loading
Framed window...please help ..urgent
jsp scope problem