Knowledge Base

Can I change the length of sessions in the Control Panel?

Question: Can I change the length of the session used in the Control Panel before it times out?

Answer: You can change the length, but you have to alter a backend file.  Open system/core/core.session.php and look around line 63.  You’ll see this:

var $user_session_len = 7200; // User sessions expire in two hours
var $cpan_session_len = 3600; // Admin sessions expire in one hour

These two variables specify the session lengths (for both the User and Control panel sessions) in the number of seconds.

Last Updated on Jun 04, 2007 at 10:17   ( Permalink )
Category: Control Panel