> Hi Brent,
>
> Well I figured out what the problem was. I was putting an 'Auth'
> object in the session. I made  some changes to something that
> invalidated the class definition of that object. As soon as I logged
> out the Auth object in the session was reinstantiated and the error
> went away. No big deal.

Actually I've pinpointed the problem a little more. It seems you must
require_once the class of the object stored in the session before
calling session_start. I guess session_start is deserializing things
and if the class definition isn't available it defaults to an
incomplete type.

Mike
_______________________________________________
New York PHP Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk

NYPHPCon 2006 Presentations Online
http://www.nyphpcon.com

Show Your Participation in New York PHP
http://www.nyphp.org/show_participation.php

Reply via email to