CodeIgniter Forums
Secure cookie change in php.ini - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24)
+--- Thread: Secure cookie change in php.ini (/showthread.php?tid=64110)



Secure cookie change in php.ini - edica - 01-15-2016

The site https I changed options to true. Apparently it is working. 
$ config ['cookie_secure'] = TRUE;
$ config ['cookie_httponly'] = TRUE;

But in php.ini this session.cookie_secure = Off and session.cookie_httponly = Off. I should switch to On?


RE: Secure cookie change in php.ini - skunkbad - 01-15-2016

(01-15-2016, 06:34 AM)edica Wrote: The site https I changed options to true. Apparently it is working. 
$ config ['cookie_secure'] = TRUE;
$ config ['cookie_httponly'] = TRUE;

But in php.ini this session.cookie_secure = Off and session.cookie_httponly = Off. I should switch to On?

I believe that CI is going to do this for you.