A
A
Alexander Avtomonov2014-07-10 12:28:35
PHP
Alexander Avtomonov, 2014-07-10 12:28:35

Does session_start() update the session lifetime?

Actually, the subject is in the title. Let's assume session lifetime: 1 hour. The user did nothing for 55 minutes, and then made a request to the script in the text of which session_start () is present. Will the time before closing be updated from 5 minutes to 1 hour?
PS I'm 95% sure that it will be updated, but there are doubts.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
maksmaers, 2014-07-10
@avtomon

session_start() creates a session or resumes the current session based on the session
id Refresh

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question