wood burning stoves*
The moose likes JSF and the fly likes Detecting Session timeout? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Detecting Session timeout?" Watch "Detecting Session timeout?" New topic
Author

Detecting Session timeout?

Bahadur Shah
Greenhorn

Joined: Feb 20, 2007
Posts: 18
Is there any way i can be notified when the session timesout?

In Jsp, we can extend HttpSessionListener and override the destroy method.

In JSF also, we need to follow the similar procedure or any better ways of doing so?
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper

Joined: Aug 26, 2006
Posts: 4968
    
    1

Remember, JSF just builds on the Servlet and JSP API, so there's nothing stopping you from doing 'normal' Servlet, JSP and Session operations!

-Cameron McKenzie
 
Consider Paul's rocket mass heater.
 
subject: Detecting Session timeout?