wood burning stoves 2.0*
The moose likes HTML, CSS and JavaScript and the fly likes on session expire in iframe - open login page in parent window Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "on session expire in iframe - open login page in parent window" Watch "on session expire in iframe - open login page in parent window" New topic
Author

on session expire in iframe - open login page in parent window

Koti Samadhi
Greenhorn

Joined: Aug 26, 2009
Posts: 29
Hi All,

i am facing a problem. i am using Iframe on one of my JSP Page. now when session is expired, i want the parent page to be redirected to login page. but i am not able to do so. when i check session in IFrame window and redirect user to login page, then only in Iframe user looks Login page, not the Parent page is redirected to Login page.

I will provide the screen shot for reference.



[Thumbnail for issue.JPG]

Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61092
    
  66

Please take the time to choose the correct forum for your posts. This forum is for questions on JSP. For more information, please read this.

This post has been moved to a more appropriate forum.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61092
    
  66

Use top to find the top-most window.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: on session expire in iframe - open login page in parent window