This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Java in General and the fly likes TimeOut Message : Please Help Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "TimeOut Message : Please Help" Watch "TimeOut Message : Please Help" New topic

TimeOut Message : Please Help

Kushagra Bindal
Ranch Hand

Joined: Oct 15, 2008
Posts: 156
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
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15964

This seems to be a repeat of your other question at .

Please don't do that. Parallel threads confuse people.

Customer surveys are for companies who didn't pay proper attention to begin with.
wood burning stoves
subject: TimeOut Message : Please Help
Similar Threads
Session timeout
Direct user to specific portal artifact after login
Application logout problem
Session Timeout problem
Session Expire due to time out: Please Help