We are writing a series of applications which will store a user 'profile'
between sessions as a serialized object in our Oracle database. We're storing
data like the output format a user prefers file downloads in and things like
that. If have to add certain things to this class, I'm assuming
:[EMAIL PROTECTED]]
Sent: Monday, July 09, 2001 10:58 AM
To: PHP General Mailing List
Subject: [PHP] Storing serialized classes in database
We are writing a series of applications which will store a user 'profile'
between sessions as a serialized object in our Oracle database. We're storing
PROTECTED]
Sent: Monday, July 09, 2001 10:58 AM
Subject: [PHP] Storing serialized classes in database
We are writing a series of applications which will store a user 'profile'
between sessions as a serialized object in our Oracle database. We're
storing
data like the output format a user prefers
When you serialize() an object in PHP, it only stores the properties,
not the methods. This way you can change any of the methods in your
class definitions, or add new properties, and when the data is
unserialize()d, it will fit into the new class definition.
The latest (development) version
4 matches
Mail list logo