Set session time out limit for magento frontend

Shakti Singh picture Shakti Singh · Oct 26, 2010 · Viewed 64.8k times · Source

I am trying to set session time out limit to 30 minutes in magento but it is not expiring in 30 minutes. I went to System->Configuration->Web->Session Cookie management and set 1800 value for the field Cookie Life time but still it is not expiring the session in specified time out limit. I don't know what is wrong with Magento frontend session.

Am I setting the limit at right place? Is there any other setting in magento backend to set the frontend session time out limit.

Answer

Holly picture Holly · Jul 24, 2014

This can also be achieved from the admin panel without touching a single line of code.

Go to System->Configuration->Advanced->Admin->Security and set the session lifetime to how many seconds you wish. I always set it to one day (86400 seconds) on my development environment.

enter image description here

System->Configuration->Web->Session Cookie management is for setting the timeout for normal users, signing into their profile & not the admin panel.