Posted by steve on 10/25/05 23:04
| Lupher is right, resources cannot be placed in SESSION variables but
| you can store entire objects in the session by serializing the object
| for eg:
|
| $_SESSION['myObject'] = serialize($myObject);
|
| and on the other page, $myObject = unserialize($_SESSION['myObject'];
|
| then $myObject->attribute will be available.
is this a new revelation for you, joel? he wasn't making a point. he was
trying to figure out why he is getting a specific error. can you help with
that?
Navigation:
[Reply to this message]
|