How to disable submit button if session expired?

Pressing the button "Stay Connected" will prolongue the login session? I'm asking to understand if there is a security issue to have users prolongue their login session as long they want..

What I'm thinking with this Bootstrap script is to notify/alert the user if the session is about to end in order to submit the form; if no action is taken, then logout the user and display a message. But if the user can go on and on with the session, I think it could be a security risk.
 
"Stay connected" button actually doesn't extend the Joomla session if you don't hooks some actions behind it. It just resets the script countdown time.

If you want, you can remove / disable this button.
 
We are in need of some funding.
More details.

Thank you.

Members online

No members online now.
Back
Top