CI4 - session not persisting - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28) +--- Forum: CodeIgniter 4 Support (https://forum.codeigniter.com/forumdisplay.php?fid=30) +--- Thread: CI4 - session not persisting (/showthread.php?tid=71961) Pages:
1
2
|
RE: CI4 - session not persisting - happyape - 10-23-2018 (10-23-2018, 03:44 AM)InsiteFX Wrote: I start the sessions in a Base controller that all the other controllers extend. That's handy to know. I did have "$session = \Config\Services:ession();" in the constructor of my base controller but issue seemed to be with PHP FPM settings. Sessions were working fine for the one (and only) live site on the same server and when I setup another test site, sessions just didn't want to work!! RE: CI4 - session not persisting - InsiteFX - 10-23-2018 FuelPHP had problems with that also here is their .htaccess file might help you. Code: <IfModule mod_rewrite.c> RE: CI4 - session not persisting - happyape - 10-23-2018 Thanks |