Skip to content
Advertisement

Tag: httponly

Is session.cookie_secure in php.ini automatic?

Simple answer requested: If I put in the php.ini file for my website, will that automatically turn all the php cookies to secure and httponly, or will I still need to put in true, true into parameter slots 6 and 7 in the cookie itself? Answer The answer is yes. Setting this in php.ini is enough (however, I only saw

Advertisement