2.8.15. Session storage handler

Storing sessions in Memcache or Redis can speed up the work of the site to some extent due to the fact that the data will be stored not on disk, but in RAM, where the speed of access to them will be higher.

The parameter is responsible for the session storage handler session.save_handler... It defines the name of the handler that is used to store and retrieve data associated with the session.

  1. Openup PHP settings.
  2. Set the switch next to the desired handler and save the changes:
    • "storing sessions in files" — session data will be stored in files in the standard system directory (default value).
    • "storing sessions in Memcache" - session data will be stored in the cache in RAM (available if there is an ordered additional service Memcache(d) or on tariffs businesshosting).
    • "storing sessions in Redis" - session data will be stored in the cache in RAM (available if there is an ordered additional service Redis or on tariffs businesshosting).
  3. Wait approximately 10-15 minutes for the changes to take effect.
Content