I am developing application using JSF- richfaces.
The application has standard login page, session management and the session expire time is 15 min.
One of the requirement is, when the session expires and if the user clicks on any of the links, I need to display a popup(instead of going to login page) which will say "Your session expired, please login again".
If it is a single link I can use a4j to check if the session is expired or not. But in my case, I need to display the "session out" alert for every link and button.
Any pointers to this will help me to proceed forward.
Thank you in advance.