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!

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 Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,803
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice