This demonstrates how to lengthen or shorten the session timeout for a logged-in user, in CakePHP.  This functionality controls when the user's session times out.
                             
                            CakePHP, CakePHP4, CakePHP3, CakePHP2