Wednesday, March 20, 2013

Increase session cookie timeout for admin 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:
UPDATE core_config_data SET value = ’86400′ WHERE path = ‘web/cookie/cookie_lifetime’;

1 comment:

Andie said...
This comment has been removed by the author.