CodeIgniter Forums
Sessions not working - 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 not working (/showthread.php?tid=6760)



Sessions not working - El Forum - 03-10-2008

[eluser]convan23[/eluser]
Hey,

I'm utilizing the built-in session library and I'm having a problem setting the 'cookie' part of the session. The sessions are posting to the database just fine, but in firefox when i open up the cookie manager I noticed that ci is creating multiple sessions (virtually one everytime i refresh the page). Also if I try to set session data ($this->session->set_userdata($array); it adds another cookie, but I can't retrieve the data ($this->session->userdata('item')Wink

Does anyone have any ideas?

Thanks!
conrad


Sessions not working - El Forum - 03-11-2008

[eluser]Michael Wales[/eluser]
Settings in config.php correct?