I'm trying to extend the login time by detecting inactive users. Can the above function be implemented using local storage?
When the user clicks, scrolls, moves, and inputs using the keyboard, they try to reset the login time.
I'm using javascript.