This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Login Session Time out

 
Ola Daniel
Ranch Hand
Posts: 105
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want my web application to display a page which says your session has timed out when a time out occurs. I dont want it to just display the logon screen when the user's session had timed out. I have tried placing the following code in my web.xml,

But My web application still brings up the Login Screen whenever the user the user login has expired.


Help pleaser.
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try using a tool like the LiveHttpHeaders plugin for Firefox to see, exactly what error code is being returned.
Maybe it's not a 408.
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Or perhaps, your security settings are not allowing your session expired page to be shown.

What url-pattern are you using?
 
Ola Daniel
Ranch Hand
Posts: 105
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Heres the <security-constraint> part of my web.xml.





I dont think the url-pattern is preventing the message page from coming up.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic