Magento – Is it possible to override the Session Cookie Lifetime found in the sys. config.

administrationconfigurationcookiemagento-1.9

Is it possible to override the Session Cookie Lifetime found in the system configuration?

The reason I ask is because it appears that Magento is not honoring the value I set for Cookie Lifetime no matter what. This is an instance that MANY developers have had their hands in and it seems someone found a way to override it. Any thoughts?

Best Answer

Check the content of code/core/Mage/Core/Model/Session/Abstract.php and make sure the file is used. If the lifetime is wrong, check where it is set.