[eluser]Unknown[/eluser]
Something is strange here. I have a controller called "auth" that sets a variable to a session and redirects back to the home page:
Code:
$this->session->set_userdata('userid', $row['id']);
redirect('home', 'refresh');
Everything is working fine except for the session which does not get populated unless I add some random variables to my query string. What it looks like is the code is caching somehow and ignoring "set_userdata". If I play around with "shift-F5" I can get the session to set.
Anyone know why this is happening?
THANKS!!!