This week's book giveaway is in the JavaFX forum.
We're giving away four copies of Introducing JavaFX 8 Programming and have Herbert Schildt on-line!
See this thread for details.
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 Introducing JavaFX 8 Programming this week in the JavaFX forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Detecting Session timeout?" Watch "Detecting Session timeout?" New topic

Detecting Session timeout?

Bahadur Shah

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

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
I agree. Here's the link:
subject: Detecting Session timeout?
It's not a secret anymore!