Set connection timeout limit in joomla

How to set session timeout limit for users in Joomla 2.5? I set the "Session Lifetime" parameter in the global configuration, but it sets a limit only for the backend.

+6
source share
3 answers

you can comment on the line JHtml::_('behavior.keepalive'); top in the file Modules / mod _login / TMPL / default.php

After that, the backend time will also expire both on the external interface and on the backend

+5
source

Try this plugin. According to my information.

If you want to

The session management plugin allows you to use the session time for various user groups on your Joomla site. The user group session management plugin is online all the time on your Joomla site.

Session Management Plugin

Session keeper

Another option

Go to website β†’ Global Configuration β†’ System tab and set up a Lifetime session

+1
source

From my tests, I am of the opinion that the value you set as the internal (Global Configuration> System> Session Lifetime) is used for both the internal and external interfaces.

You can check what value you get in the front. Use the following code:

echo "Session expires." JFactory :: getSession () β†’ getExpire () / 60. min.

It seems to me that JFactory is responsible for setting the expiration time. It uses configuration time or, if absent, uses 900 seconds (15 minutes).

0
source

All Articles