Does the SESSION always expire within the configured time (such as 24 minutes) no matter how you operate when PHP saves the SESSION with the SESSION? I kept operating for 23rd minutes. Will the SESSION still expire in 24 minutes ?? Does the SESSION always expire within the configured time (such as 24 minutes) no matter how you operate when PHP saves the SESSION with the SESSION? I kept operating for 23rd minutes. Will the SESSION still expire in 24 minutes ??
Reply content:
Does the SESSION always expire within the configured time (such as 24 minutes) no matter how you operate when PHP saves the SESSION with the SESSION? I kept operating for 23rd minutes. Will the SESSION still expire in 24 minutes ??
By default, the session expiration time refers to the length between your next operation. Each time you perform an operation, the session generation cycle is reset to 24 minutes. If the interval between the two operations is greater than 24 minutes, the session will be invalid.
This is only the default situation, you can also force it, from the session generation, as long as 24 minutes, immediately expire, no matter how many operations in the middle.
You can also configure the option to never expire when the session is configured. You can configure a large expiration time, such as 30 years.
No, unless you have enabled the strict expiration mode.