I am looking for help on redirecting or closing the session after certain minutes of inactvity on client side. My code is all HTML based so makes sense to implement this using Javascript. Any clues?
It will redirect the user after a set time. This could also be done with Meta Tags. You can also develop a function that detetcs user interaction and resets the timer, but that is a little more advanced.
Seems setTimeout meerly sets the timeout does not really detect inactivity?I tried this one and redirects after certain time whether I am active or not.
What I said is you would have to build a funciton that determines if the user performs any actions on the window. It would be rather complicated and I am too busy to do it.