aspose file tools*
The moose likes Tomcat and the fly likes Frameset problem when session times out Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Frameset problem when session times out" Watch "Frameset problem when session times out" New topic
Author

Frameset problem when session times out

glenn spjuver
Greenhorn

Joined: Jun 29, 2004
Posts: 11
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

Joined: Dec 11, 2004
Posts: 13410

Tomcat (or any other server for that matter) knows nothing about frames.
Each frame makes its own request to the server.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Jan Groth
Ranch Hand

Joined: Feb 03, 2004
Posts: 456
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

Joined: Jun 29, 2004
Posts: 11
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.
 
Consider Paul's rocket mass heater.
 
subject: Frameset problem when session times out