2.8.14. Session lifetime

Attention!

If session data for the sites in a hosting account is stored in a single location, but the scripts for some of these sites override the session timeout set in the hosting control panel, the session data will be deleted after the shorter of the two time periods. In this situation, it is recommended to override the session storage location in the scripts using session.save_path.

The session.gc_maxlifetime parameter determines the session's lifetime. It specifies a timeout period in seconds, after which the data will be treated as "garbage" and may be deleted.

  1. In the "session.gc_maxlifetime" field, enter the desired value (the default is 1440, and the maximum value is 86400, which is equivalent to 24 hours) and save your changes:
  2. Wait approximately 10-15 minutes for the changes to take effect.
Teneur

    (1)

    Commentaires

    job.kyiv
    1 доба це дуже мало.