Magento – How to fix customer session time out in Magento 1.4.1.1

customer-session

I'm looking for a way to limit customer log in session to 24 hours, but it seems not to be working at all.

I have done the following steps, none of them has changed a thing. After being logged in, customer stay logged in for ever…

System -> Configuration -> Services -> Magento Core Api ->General Settings
Client Session timeout (sec.): 86400

System -> Configuration->General > Web Session Cookie management
Cookie Lifetime: 86400

(Do I need to fill "cookie path" and "cookie domain" fields ?)
Web Session Cookie Management screen
System -> Configuration-> Admin -> Security
Session_cookie_lifetime => 86400

/var/www/.htaccess
php_value session.gc_maxlifetime 86400

Do you have any idea about how I could manage it ?

Best Answer

I think it doesn't work for less thant 24h. It works now by setting the following to 86400 seconds...

System -> Configuration->General > Web Session Cookie

Related Topic