beverage
06-12-2008, 09:51 AM
I'm hoping that someone out there maybe able to provide me with a quick answer to this problem - before I start banging my head against a brick wall!!!
Basically, I have a rather large object which is being serialized before being stored in a database.
This object is made up of several other objects, of which they are made up of objects and so on... Within one of these inner objects there is a property called 'key' which has a numeric value assigned to it.
I've discovered that when I serialize it, and then unserialize it and look at the unserialized object, the value for the 'key' property is not there.
It would appear that the value for the 'key' property is not being serialized it. I'm wondering if anyone has come across this before and if anyone has any hints or tips to get around the problem??
Thanks,
Bev
Basically, I have a rather large object which is being serialized before being stored in a database.
This object is made up of several other objects, of which they are made up of objects and so on... Within one of these inner objects there is a property called 'key' which has a numeric value assigned to it.
I've discovered that when I serialize it, and then unserialize it and look at the unserialized object, the value for the 'key' property is not there.
It would appear that the value for the 'key' property is not being serialized it. I'm wondering if anyone has come across this before and if anyone has any hints or tips to get around the problem??
Thanks,
Bev