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

Administrator
Staff member
Apr 11, 2011
47,904
2,226
463
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.