• 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

Strange session timeout problem?

 
Ranch Hand
Posts: 124
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In each action's execute method I test for the exsistance of a session object that is set at app start up. This will not be present if the session timed out so the plan is like this -

SecurityFlags_DTO oSec = (SecurityFlags_DTO)session.getAttribute("sec");

if(oSec==null)
{
return (mapping.findForward("startup"));
}

The trouble is this forward just presents a blank page in the browser, no errors nothing!

The forward "startup" looks like this -

<forward name="startup" path="/PRD.do"/>

& should restart the app in the correct action i.e PRD.do

Any ideas?

this is reallky spooky!

thanks

harry
 
Ranch Hand
Posts: 401
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Is your problem the Session or the Forward???
If it`s the foward, post some code.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic