Hello. I am working on a new CI4 app with private user access. I would like the user to be able to decide to keep the session open at the time of login.
It works fine if I manually modify the $sessionExpiration variable in the Config\App.php file but I need to do it dynamically, for example from a session variable.
Could anyone help me? Thank you very much!