2.8.13. Session lifetime
Attention!
If the session data of the sites of the hosting account is stored in one place, but the scripts of some of these sites override the session lifetime set in the hosting control panel, then the session data will be destroyed in less time. In such a situation, it is recommended to override in scripts and the storage location for sessions using session.save_path.The parameter is responsible for the session lifetime session.gc_maxlifetime... It sets the time delay in seconds after which the data will be treated as "rubbish" and will potentially be removed.
Thechange
- Openup PHP settings.
- In field "session.gc_maxlifetime" enter the desired value (default is
1440
, maximum you can specify86400
, which is equal to days) and save the changes: - Wait approximately 10-15 minutes for the changes to take effect.