Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Session Max Lifetime in cPanel 64

Discussion in 'EasyApache' started by sadadkjhasd, Apr 27, 2017.

Tags:
  1. sadadkjhasd

    sadadkjhasd Registered

    Joined:
    Aug 31, 2016
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    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.
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,425
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    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.
     
Loading...

Share This Page