TMS Core Web Application and settings store


I have question, what is the best place or method to get/store some settings concerning web application, e.g. when I have to set the URL in XDataWebClient?

I try do this via ini file but System.IniFiles not yet implemented.


We recommend to use TLocalStorage that is defined in the unit WEBLib.Storage

  ALocalStorage: TLocalStorage;

 ALocalStorage := TLocalStorage.Create;
ALocalStorage.Values['key'] := 'yourvalue';

If you want to load this from the webserver then take a look at the example in TMS WEB Core Demos\XData\music\XDataMusicWeb

Hi Weetch Russell,

Did you think about this?

for Row in TFile.ReadAllLines(ArtistFile)