Setting sess_save_path correctly - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: Installation & Setup (https://forum.codeigniter.com/forumdisplay.php?fid=9) +--- Thread: Setting sess_save_path correctly (/showthread.php?tid=64570) Pages:
1
2
|
RE: Setting sess_save_path correctly - MikeDiz - 05-30-2018 (05-26-2018, 06:08 AM)InsiteFX Wrote: This has always worked for me. Hey I've just stumbled across this when investigating how secure my sessions are only to learn that my save path was set to NULL!! And worse yet, was set to NULL on my production server. Don't ask me how I missed this. My question is, where has CI been storing the sessions if this has not been set? Mike RE: Setting sess_save_path correctly - InsiteFX - 05-30-2018 It would use the php.ini files session save path setting. RE: Setting sess_save_path correctly - MikeDiz - 05-30-2018 (05-30-2018, 03:08 AM)InsiteFX Wrote: It would use the php.ini files session save path setting. Thanks for the quick reply. Oh that's interesting. And why would this not be recommended? Surely that would be the optimal place to keep it, no? |