website log out time

Avatar
  • Answered
I am hosting a php site at ap.phillipsstafford.com/timetracker. I have the PHPSESSID_TTL in the config file of the site (ap.phillipsstafford.com/timetracker/WEB-INF/config.php) set to 48 hours. But the site logs out the user at around two hours. Is there a setting on my server that is overriding this?
Avatar
Scott
Hello, Thank you for your question on default PHP session timeout. You should be able to control the default timeout time via your php.ini file. You can set the session.gc_maxlifetime (in seconds) to 48 hours (172,800). Local php.ini files will override the server default setting. Be sure to have the php.ini file set to recursive as well. Kindest Regards, Scott M