I'm developing a website using opencart and I wanted to extend the session timeout to 1 hour. How can I extend the session timeout in opencart 3? Should I edit the session.php in system/library?
You can change the value of session.gc_maxlifetime
. You can change this via .htaccess
, php.ini
or even in your script
itself (before the session_start()
)
I hope working well...