Session Max Lifetime in cPanel 64

sadadkjhasd

Registered
Aug 31, 2016
3
0
1
earth
cPanel Access Level
Root Administrator
I set session times using php with
ini_set('session.gc_maxlifetime',TIME_IN_SECONDS);session_set_cookie_params(TIME_IN_SECONDS,'/'); and it still gets deleted by the cron. How can I prevent this? Session timing is dependent on user and it's important that it can be dynamically set.
 

cPanelMichael

Technical Support Community Manager
Staff member
Apr 11, 2011
47,911
2,233
363
cPanel Access Level
DataCenter Provider
Twitter
Hello,

Could you verify if this system uses EasyApache 4, or EasyApache 3? Also, please post the output from the following command:

Code:
cat /usr/local/cpanel/version
Thank you.