Do PHP sessions timeout by default – ie without any coding on my part would a user eventually be “logged out” after some time of inactivity?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It depends on the server configuration or the relevant directives session.gc_maxlifetime in
php.ini.Typically the default is 24 minutes (1440 seconds), but your webhost may have altered the default to something else.