| 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
|
|
|