Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Frameset problem when session times out

 
glenn spjuver
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm using a frameset (no comments please) for my very simple layout with a left-menu frame and a content frame. The problem, which i think is related to tomcat, is that if a select a menu item after the session has timed out, the menu appears in the content frame aswell. The navigation works fine if the session has not timed out. This problem is driving me crazy, does anyone have any idea what it could be? Perhaps it's not even a tomcat related problem, but since it occurrs only when the session has timed out, that would be my guess.
The problem occurrs both in Firefox and IE.
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tomcat (or any other server for that matter) knows nothing about frames.
Each frame makes its own request to the server.
 
Jan Groth
Ranch Hand
Posts: 456
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i'm guessing that you timed-out session causes the flow to redirect to some error page or so? (maybe implicitely...)

what you need to do in this case is to make sure that the whole frameset gets rebuilded, not only the target frame.

that should fix the issue.

and as already said, this is frameset-related, has nothing to do with the servlet container...

cheers,
jan
 
glenn spjuver
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ok, thanks for the help, I'll look into that. My first though was that Tomcat perhaps mixed the responses up or something, but I guess that's kind of far-fetched since that would mean it would do the same thing whenever 2 or more people make concurrent requests.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic