Increase session cookie timeout for admin in Magento

Posted on October 10, 2012 ยท Posted in Magento

It becomes very frustating when you are working on frontend as well as admin, and after every hour of inactive you are again and again asked to enter username and password to login into Magento admin. Also, it takes time to log you in and go to your required page, it’s really headache. With below settings, you will able to increase your admin auto logout (session timeout) to anything like 4 hours / 1 day / 1 week or anything as per your wish.

Go to admin panel:

System > Configuration > General > Web > Session Cookie management > Cookie Lifetime

Change this to 86400 (1 day, because 86400 seconds makes one day)

Also, through SQL script directly to database you can increase this: