How to increase cakephp session time


#1

how to increase cakephp session time if using lamp


#2

Please read this section of the documentation in full, it explains it all: http://book.cakephp.org/3.0/en/development/sessions.html#session-configuration

Increasing Session.timeout and session.cookie_lifetime in the ini section are likely what you’re looking for.


#3

Simple add new file with name .user.ini in app webroot folder(app/webroot/.user.ini) with content
session.gc_maxlifetime=8600