Codeigniter Creates a New Session With Each Page Load
Just spent 3 hours debugging a session bug in my webapp. CodeIginter was creating a brand new session with each page load. The issue was a misconfiguration with my config file.
Fix was simple, in /application/config/config.php
, make sure correct domain is set for $config['cookie_domain']
.
Previous post: Codeigniter Out of Memory Error
Next post: MySQL Update If Exist Else Insert Procedure