CodeIgniter Forums
Session database not working, using cookies does - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html)
+--- Thread: Session database not working, using cookies does (/thread-18607.html)

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