CodeIgniter Forums
Session database not working, using cookies does - 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 database not working, using cookies does (/showthread.php?tid=18607)

Pages: 1 2


Session database not working, using cookies does - El Forum - 05-12-2009

[eluser]RJ[/eluser]
AH! We did just have SQL go down and reinstalled. That may very well be it! Will test out and give you an update, thanks


Session database not working, using cookies does - El Forum - 09-07-2009

[eluser]mariek[/eluser]
Hi all,
with a new version of MySQL, more strict, a NOT NULL field have to be set. It's like in Postgres.
So the second option (besides downgrading Mysql) is to set the user_data field to NULL as suggested here :
http://ellislab.com/forums/viewthread/94940/

Regards,


Session database not working, using cookies does - El Forum - 09-07-2009

[eluser]InsiteFX[/eluser]
Hi,

Shouldn't it be like this

Code:
$row->$session->user_data

Enjoy
InsiteFX