Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

changing the time for the admin session


Recommended Posts

I'm needing the change the length of time that the admin session will stay logged in for. I'm using a mod to update all my prices but i get about 1/12th of the way down the list and it logs me out. i would like to be able to stay logged in for a few hours to enable me to get my prices changed.

Link to comment
Share on other sites

You can extend the no-action timeout by modifying the admin/includes/function/session.php script. At the top you will find this code:

	   if (!$SESS_LIFE = get_cfg_var('session.gc_maxlifetime')) {
  $SESS_LIFE = 1440;


Just change the $SEE_LIFE = 2880. But doing so is not really recommended as it posses a security risk in allowing a longer window for session hijacking! Hope that helps. Good luck.

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...