Re: [PHP] Object in session and include

2003-09-17 Thread Marek Kilimajer
Look at http://sk.php.net/unserialize Example 1. unserialize_callback_func example Marco Schuler wrote: Hi I have to serialize an object in a session. Generally there is no problem with this if the class-definition file(s) are included _before_ starting the session, as explained in the php-manual

RE: [PHP] Object in session and include

2003-09-17 Thread chris . neale
I was under the impression that if you used include_once then the script would only include the class definition if it was required within the script. You might want to check the manaul or get a second opinion on that, but that's what I've always done. Regards Chris -Original Message- F