![]() |
Session refresh issues - 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: Session refresh issues (/showthread.php?tid=38308) |
Session refresh issues - El Forum - 02-04-2011 [eluser]Maglok[/eluser] This is something that has been happening in some of my apps, specifically now it is a crucial thing. I have a form, I create an account and login that person in on submit, then reload the page like so (sketchy): Code: function index() My sessions are set up like this: Code: $config['sess_cookie_name'] = 'ci_session'; I made sure to echo my $data array to see what the state of my login was. The problem: The first time I get back on the page, it doesn't register as logged in. If I hit F5, I suddenly get the variable in the session. What. Gives. ![]() |