Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Redirecting a framed page when session expires

 
kapil Gupta
Ranch Hand
Posts: 89
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 356
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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).]
 
kapil Gupta
Ranch Hand
Posts: 89
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic