Hi all!
In one page in my PrimeFaces 6.0 application I've got a poll component which call some backing bean method after every 10 sec. Every request is refreshing session timeout, therefore when user go away from desk the session timeout (atomaticly logout) will never occur.
Is it possible to use poll component (or antoher one) to periodically call method and do not refresh session timeout?
Thanks for Your help!
Poll wihout refresh session timeout. Is it possible?
-
- PrimeFaces Core Developer
- Posts: 3979
- Joined: 03 Dec 2010, 14:11
- Location: Bavaria, DE
- Contact:
Don't think so.
But you can do a manual logout triggered by p:idleMonitor.
But you can do a manual logout triggered by p:idleMonitor.
Thomas Andraschko
PrimeFaces | PrimeFaces Extensions
Apache Member | OpenWebBeans, DeltaSpike, MyFaces, BVal, TomEE
Sponsor me: https://github.com/sponsors/tandraschko
Blog: http://tandraschko.blogspot.de/
Twitter: https://twitter.com/TAndraschko
PrimeFaces | PrimeFaces Extensions
Apache Member | OpenWebBeans, DeltaSpike, MyFaces, BVal, TomEE
Sponsor me: https://github.com/sponsors/tandraschko
Blog: http://tandraschko.blogspot.de/
Twitter: https://twitter.com/TAndraschko
-
- Posts: 4
- Joined: 08 Jun 2016, 08:31
idleMonitor does not work, when I have also a p:poll component on the same page!tandraschko wrote: ↑26 May 2017, 17:12Don't think so.
But you can do a manual logout triggered by p:idleMonitor.
So I have to distinguish if the user is really idle or the page send poll requests.
-
- Posts: 4
- Joined: 08 Jun 2016, 08:31
My fault - <p:idleMonitor> an <p:poll> work on the same page!