Blog

Learn about new releases, tips & tricks
  • Written by
  • Hits: 996

Joomla 4 Tutorial: How to Change session handler in Joomla 4

How to Change session handler in Joomla 4

Session timeout is an important feature of Joomla that helps to stay user on site for a long time depending on the timeout settings. In this blog post, we will discuss in details about the working of Session handler on Joomla 4.

Note: This tutorial can be used for Joomla 3.

What is Joomla Session handler :

A Joomla session is a limit of the time that allows the user to stay on site after he logged in on frontend or backend. Till the user is active on site he can do changes on site. The default limit of the session timeout in Joomla is 15 Minutes. If a user is idle for 15 minutes, Joomla will log out that user and he need to log in again on site.

Types of Joomla 4 session handler :

  1. Database handler
  2. PHP / File handler
  3. Memcache (Experimental)
  4. session handler in Joomla 4

    Database Handler:

    By default, the session handler is set to the database and it records all the data in the database session table. Whenever a user performs an activity the session handler will reset the time limit.

    PHP Handler :

    It is more advanced handler to save the session as compare to the database session handler. It saves the session in by PHP handler, Please note if your server does not support this, do not enable this as it can block the login on site. If you are 100% sure about the PHP handler support, in that case, enable this option.

    Memcache (Experimental)

    It is purely experimental and user server host and server port. Do not try this for live sites

    How to configure Joomla 4 Session timeout

    1. Log into your Joomla 4 admin panel.

    2. Now navigate to System > Global configuration menu > Switch to System tab

    3. The default setting for Session Lifetime is 15. The value you will enter for Session Lifetime is in minutes.

    4. Change the settings for Session Lifetime to as per needs and click “Save” button.

    More Joomla 4 reviews and tutorials:

Tags: Joomla Joomla 4

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW