[Project_owners] Persisting some data

Peter Wilson pwilson at gorge.net
Wed Mar 9 07:15:35 EST 2005


Bradley Rintoul wrote:

>
> Hello:
>
> 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?
>
> Thanks,
>
> B. Rintoul
>
>
> _______________________________________________
> Project_owners mailing list
> Project_owners at mozdev.org
> http://mozdev.org/mailman/listinfo/project_owners
>
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 mailing list