Sessions stopped working after 2nd day - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Sessions stopped working after 2nd day (/showthread.php?tid=56311) |
Sessions stopped working after 2nd day - El Forum - 12-09-2012 [eluser]BigJoe[/eluser] I watched some video tutorials on creating and register and login for CI. The thing is that every thing was working fine the 1st day. Then the next day I wanted to log in and test some options I added and well it looks like the sessions are not getting set. So I been reading a lot on this matter and I'm confused on this. My code is below. Any one have any ideas why this just stopped working Code: public function login_validation() { Sessions stopped working after 2nd day - El Forum - 12-11-2012 [eluser]ramirors[/eluser] Are you trying with same browser? same server? persist session in database? config.php->compare_user_agent? Sessions stopped working after 2nd day - El Forum - 12-11-2012 [eluser]BigJoe[/eluser] Sorry, I forgot all about this. The problem was in the config.php file. I had some of the options set wrong. Sorry to have bothered you. Joe |