NM, I just needed to use serialize when writing to the session and unserialize when reading!
On Sep 4, 11:41 am, seth <[EMAIL PROTECTED]> wrote: > I have a class in my vendor directory that I include using the > App::import function and then instantiate. I store the created object > in a session. When I go to access this session variable in a > different method I get the old PHP_Incomplete_Class error. > > I am doing another App:import in the new method, but this doesn't > solve anything. I assume I'm getting the error because in the cake > guts the include is happening after the session_start, something I > don't think I have any control over... Anyone else run into this or > have any ideas for a workaround? > > -seth --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
