Re: [PHP] Serializing of OOP into sessions

2002-03-13 Thread ayukawa


>Hello could somone please explain to me HOW I serialize classes into session
>and how I get the on the next page!??
>
>Must I do $object = new ObjectName on the next page for the object to be
>used??

No.

Try this.
File test.inc--
id).":".($this->name);
}
}
?>
---

File test.php--
id++;
$obj->name.="@";
$obj->pt();
?>

Next


And open test.php with your brouser & click 'Next'.
No special serialization is required.

Regards,
Hiroshi Ayukawa
http://hoover.ktplan.ne.jp/kaihatsu/php_en/index.php

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] Serializing of OOP into sessions

2002-03-13 Thread David Tandberg-Johansen

Hello could somone please explain to me HOW I serialize classes into session
and how I get the on the next page!??

Must I do $object = new ObjectName on the next page for the object to be
used??

How does this work?

Thanks
David



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php