• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Frameset problem when session times out

 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 456
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic