File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Session Time Out

 
Aravind Prasad
Ranch Hand
Posts: 265
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Ranchers,
In my program, I'm using <iframe> for displaying the page when I click a drop down menu. I have set a session time out 30 sec in Web.xml file.

But when the Session times out, the page will redirect it to the index page with a message. That page is showing inside the inline frame.

Is there any way where I can put the target.

The code is here


Please Help me ranchers

Regards
Aravind Prasad
 
subodh gupta
Ranch Hand
Posts: 203
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Inside your jsp(iframe) you have to check for the session variable and then redirect your parent window to the loggin page.
 
Aravind Prasad
Ranch Hand
Posts: 265
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thankyou for your reply.

But even if I redirect the page. It is still showing the redirected page inside the IFRAME. But If I can put the target in the redirection part, i hope it can work fine.

Please help me how to put target in the page.

Regards

Aravind Prasad
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic