Most of the time when you are working on the frontend as well as admin after one hour you’re getting logged out so you can easily increase the session timeout.By default, the session cookie lifetime is set to 3600 seconds which is equal to 1 hour. If you want to, you can increase or decrease that time.Its determines the length of a user session in seconds.
Goto Admin > System > Configuration > Advanced > Admin > Security > Session Lifetime (Seconds)
Also check the php environment variables
php_value session.cookie_lifetime <seconds> php_value session.gc_maxlifetime <seconds>
Also, through SQL script directly to database you can increase this:
UPDATE core_config_data SET value = '86400' WHERE path = 'web/cookie/cookie_lifetime';
.If you face any problems or need our professional services, please email us at [email protected]