Mike C Sat May 28 20:35:33 -0400 2011

Subject: Class Instance wont store in Session

I've retrieved a user model using a static find, the results are good but when I try to save the user object in the session, it fails with no error. Other classes store just fine, how come activerecord objects wont?

Thanks for you help.

UPDATE: This is not an issue with PHP ActiveRecord. Further testing showed it is that the framework I'm using (CodeIgniter 2.0.2) is using cookies for storage and not sessions. The issue is with their implementation. I have posted my solution here: http://shadetyler.blogspot.com/2011/05/session-issues-while-integrating-php.html


Yoan B Tue May 31 10:07:30 -0400 2011

Cool! Thanks for sharing.

(1-1/1)