On May 25, 2006, at 3:40 PM, Deane Venske wrote:
Is there anyway to serialize an object in REALBasic?
In PHP I'll often serialize say a session object and store it in a
DB so that when that user logs in again, I can restore their
session EXACTLY.
What I want this for is where I have my client-server apps to be
able to serialize a recordSet, send that data across to the client
and then unserialize it and use it as a recordSet again.
There is nothing automatic... you need to process everything variable
by variable.
However, there is BDictionary and a few other Dictionary->String type
format that you can use to convert basic datatypes, dictionaries and
a few other classes to and from string (serialization). Using one of
these libraries as a code example, you should be able to easily
create a format to serialize RecordSets.
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>