I am using JSF 2.0 in my project and I want redirect to logout page after session expired. I try method in this post and this . It doesn't work. Redirect me to logout page only after I refresh page. I want do it automatically. How do this?
Asked
Active
Viewed 222 times
1
-
https://stackoverflow.com/questions/2543094/how-to-redirect-to-index-page-if-session-time-out-happened-in-jsf-application – cjslv Jun 01 '17 at 08:37
-
1@cjslv Do you read my post? – JohB Jun 01 '17 at 08:44
-
oh sorry about that, I didn't notice the links. – cjslv Jun 01 '17 at 08:45
-
@cjslv Is it possible in JSF ? – JohB Jun 01 '17 at 08:52
-
have you tried using primefaces? Take a look at the `poll` component here https://www.primefaces.org/showcase/ui/ajax/poll.xhtml – cjslv Jun 01 '17 at 08:53
-
@cjslv What in case when I have two tab in browser with my app? – JohB Jun 01 '17 at 08:56
-
@BalusC how this topic from duplicated can help ? – JohB Jun 01 '17 at 13:03