• 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 all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Bear Bibeault
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Ganesh Patekar
  • Frits Walraven
  • Tim Moores
  • Ron McLeod
  • Carey Brown
  • Stephan van Hulst
  • salvin francis
  • Tim Holloway

TimeOut Message : Please Help  RSS feed

Ranch Hand
Posts: 156
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I am using JSF. In my application I have created my customize filter and HttpSessionListener class. In my application I am having a session time out of 30 min. when user will not hit any link i.e. application is ideal. After 30 min it is redirecting itself to login page via sessionDestroyed() method of customize SessionListener class.After the session invalidated there is no control of request, response object in sessionDestroyed() method.So I am unable to trap out the condition. As in my application I have to show a custom message like "Your session has been expired. Please login again"..

For this I am having few option.
1. Handle it via javaScript.
2. If possible then handle it through sessionDestroyed() method.
3. Can show a new page before login page containing the link of login page. and if user click on the link then it will be redirected to login page.

Please suggest me if any thing is possible in this case.

As this issue is having very high priority for me.

Please Help!!!

Kushagra Bindal
Posts: 19960
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This seems to be a repeat of your other question at http://www.coderanch.com/forums/posts/reply/0/446109 .

Please don't do that. Parallel threads confuse people.
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!