File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSF and the fly likes Detecting Session timeout? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » JSF
Reply 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: 4967

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


Author of Hibernate Made Easy, What is WebSphere???, JSF 2.0 Made Easy and the SCJA Certification Guides
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Detecting Session timeout?
 
Similar Threads
Session re-visited
session bean creation
Can I use session when WebSphere is load-balance
Confusion about session destruction
how can we find weather it is a statful session or stateless