I have set this hidden variable in my config/config.php file
// Allows changing of the Users Session Length to any number in seconds. For instance, if users should be logged out after 10 minutes of inactivity, the value would be: 600
// 30 minutes(60 seconds * 30 )
$config['user_session_ttl'] = 1800;
However, it is not working. I tried leaving a page inactive and checking it after an hour many times. But I still don't get logged out.
Any idea why this is the case?
P.S. I am using Safecracker and Safecracker Registration for my Member system. I am using EE 2.5.5 with no immediate plans to upgrade.
UPDATE:
I found out that user_session_ttl
affects my admin session(logged in via localhost/system) while the session logged in via Safecracker was not affected.
I also found another hidden variable, cp_session_ttl
. Is this relevant?
$config['user_session_ttl'] = "1800";