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!

Question about session.cookie_httponly

Discussion in 'Security' started by ken yau, May 17, 2014.

  1. ken yau

    ken yau Member

    Joined:
    May 4, 2014
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hello,everybody,
    I counter a strange problem:
    I can see session.cookie_httponly is off in the info of php in the server.
    However,I can't find the session.cookie_httponly flag when I open the php.ini in the nano editor even I make a search .I use php5.4.X
    Anyone has idea?
    Thank you very much.
     
  2. quizknows

    quizknows Well-Known Member

    Joined:
    Oct 20, 2009
    Messages:
    1,011
    Likes Received:
    88
    Trophy Points:
    78
    cPanel Access Level:
    DataCenter Provider
    The setting might default to off if it is not set in php.ini, you could try adding the setting yourself to see if that affects phpinfo.
     
  3. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,827
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Yes, if you manually add the entry to your /usr/local/lib/php.ini file and restart Apache, then you should see the change reflected in your PHPINFO output.

    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