I'm looking for an example to display to the user that their session is being expired. Click ok to stay on the page. It should display a counter as well.
I found this
but one of the comments says it's a bad example because the timeout session is read from an appsetting. I thought that at first too when I saw this example.
Any other examples I can use?