[Project_owners] Persisting some data
pwilson at gorge.net
Wed Mar 9 07:15:35 EST 2005
Bradley Rintoul wrote:
> I would like to persist a simple array of strings to use between
> invocations of the browser. I would like to save this information
> locally - is RDF my only option?
> B. Rintoul
> Project_owners mailing list
> Project_owners at mozdev.org
If the data is small, then you could add a private attribute to the XUL
myattr="string1|string2..." then also add attribute persist="myatr".
Use split to extract your strings.
I use this technique for a File MRU list and it works quite well.
More information about the Project_owners