Suppose we set 20 Min as session timeout in Service studio.
So if user remains idle on screen/ do not perform any action then I want to show a popup after 15 min of inactivity that session is about to timeout in next 5 min, if want to extend click on a button.
Something similar to below image
Can you please guide how we can achieve this in reactive web application?
Hello, I dont know if its a good idea\or ther is a way to read the idle time from serviceCenter, but in other language when this tipe of implementation are necessary to do, we normamly do it controlling on front-end\javascript, first put the "countdown regressive" and when the count become < a value you can show this pop-up then you can use a sitepropertie to configure this session time and if its over you can raise a logout. The other think you need to do is allways the page have some refresh you can reset the count or in specify actions a other option using JS is use listen some on_click from mouse in any part of screen.
You can check a simply countdown there:
https://codepen.io/angelorubin/pen/ZOrXPZ
Its not a "ready answer", buts a idea that how to do.