Post by hydroconcepts » Wed Apr 02, 2025 11:13 am

Hello everyone I am having an issue with timeout when I am working on the admin page as this fault has been discussed a lot for other versions and I am aware of the small change I need to make regarding the Lifetime line on a php file however I am unable to locate the exact file the where the line exists.

Can someone please point me to the correct directory file to make that change on Version 4.0.2.3
I belive I need to make sure this line is set
ini_set('session.gc_maxlifetime', 864000);

Any help will be appreciated thanks

Newbie

Posts

Joined
Mon Aug 26, 2024 6:23 pm

Post by paulfeakins » Wed Apr 02, 2025 7:30 pm

hydroconcepts wrote:
Wed Apr 02, 2025 11:13 am
Hello everyone I am having an issue with timeout when I am working on the admin page as this fault has been discussed a lot for other versions and I am aware of the small change I need to make regarding the Lifetime line on a php file however I am unable to locate the exact file the where the line exists.
You probably need better hosting.

A decent web host would help you with this.

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Legendary Member
Online

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom

Post by ADD Creative » Wed Apr 02, 2025 11:55 pm

OpenCart 4.x doesn't use PHP session settings. You will find the Session Lifetime setting under the Server tab in the settings and the garbage collection session_expire in system/config/default.php.

www.add-creative.co.uk


Guru Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom
Who is online

Users browsing this forum: paulfeakins and 3 guests