__PHP_Incomplete_Class の対処法

PHPでSessionに登録したオブジェクトを取得する場合、session_start()の前にクラス定義がロードされていないと オブジェクトが __PHP_Incomplete_Class になってしまう。
これを回避するためには、unserialize_callback_func を定義してあげればよいとのこと。

以下のサイトで紹介されていた。thx.
http://www.revulo.com/blog/20070223.html

http://www.php.net/manual/ja/function.unserialize.php