Upon session expiry, open the login page in parent frame
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Archana_Soni
Posted On:   Tuesday, August 1, 2006 09:50 AM

In my application, I have used iframes in AJAX tabs. There is a session timeout of 30 min. Once the session times out, the user has to be redirected in the login page.

My problem is that when the session expires, and i click on any link/form inside the iframe, the login page opens up in the frame itself resulting in inconsistency in GUI.

I want the login page to open in the main page and not in the iframe. I cannot use target="_parent" on those link/forms b'coz if I do so then in normal times ( no session expired) too the link/forms will open in parent frame.

Can anybody let me know how it can be achieved ?

Re: Upon session expiry, open the login page in parent frame

Posted By:   Naim_Kazi  
Posted On:   Thursday, September 7, 2006 03:15 AM

Hi,
When the session expires, do not redirect user to the login page, instead redirect user to another page ex- logout.jsp, and in logout.jsp, write a script on form load to redirect user to login page.



This should work.




Thanks.
About | Sitemap | Contact