time out - how to change the amount of time for auto-logout?

Please always state the Chamilo version you are referring to when reporting issues or asking questions.

Moderator: Coursenligne

time out - how to change the amount of time for auto-logout?

Postby chipw » 23 Oct 2017, 22:39

I would like to change the amount of time Chamilo sits without activity before it logs me off. It appears to be something between 45minutes and one hour. I would like to set to 8 hours. How can I do this?
chipw
New user
 
Posts: 35
Joined: 05 Jul 2014, 20:28
Location: Barranquilla, Colombia

Re: time out - how to change the amount of time for auto-log

Postby lguirao » 04 Nov 2017, 11:09

Hello

Go to Administration > Configuration settings > Time limit on Who Is Online
User avatar
lguirao
Major Contributor
 
Posts: 711
Joined: 18 Apr 2012, 07:12
Location: Granada (España)

Re: time out - how to change the amount of time for auto-log

Postby chipw » 05 Nov 2017, 02:11

Thanks, that a big help. Suggestion for future version of Chamilo - allow us to set a different time-out period for admins and teachers accounts, while keeping the students time-outs to a much shorter period. I want my account set so it doesn't log me out at all during the day, so I set the parameter to 8 hours. But I don't like that that is now also the default for the students.
chipw
New user
 
Posts: 35
Joined: 05 Jul 2014, 20:28
Location: Barranquilla, Colombia

Re: time out - how to change the amount of time for auto-log

Postby chipw » 08 Nov 2017, 18:11

I set the time-out to 600 minutes (10 hours), I have logged off and on Chamilo several times, but it still logs me off at half-hour. :(
chipw
New user
 
Posts: 35
Joined: 05 Jul 2014, 20:28
Location: Barranquilla, Colombia

Re: time out - how to change the amount of time for auto-log

Postby jand » 27 Nov 2017, 11:50

Maybe your system php gc_maxlifetime is too small.
check the gc_maxlifetime setting in php.ini or change it with:
ini_set('session.gc_maxlifetime', 3600*24*3); // 3 days

You can put it after line 91 in main/inc/lib/chamilo_session.class.php
jand
New user
 
Posts: 48
Joined: 18 Jan 2010, 23:00
Location: Amsterdam


Return to All topics, all versions

Who is online

Users browsing this forum: No registered users and 1 guest

cron