In the session.php file, the lifetime value is set to 120 by default. After more than 2 hours have passed since the user logged in to the site, when the page is updated, it translates to / login . Please tell me how and where to redirect to the main page?