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.

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:
    942
    Likes Received:
    57
    Trophy Points:
    28
    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 Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
Loading...

Share This Page