SessionAppVariableAdd(Name, Value : String);
Demo
VAR Result : String;
VAR JSON : String;
VAR Count : Integer;
JSON := '[{"Greeting":"Hello 1 ","Name":"User 1"},{"Greeting":"Hello 2 ","Name":"User 2"}]';
Result := SessionAppVariableAdd('Name', JSON);
//ShowMessage(JSONValue(JSON, 'Greeting')); SessionAppVariableGetValue(Name : String);
Exit;
SessionAppVariableGetValue(Name : String);
Demo
VAR Result : String;
VAR JSON : String;
VAR Count : Integer;
Result := SessionAppVariableGetValue('Name');
Exit;
SessionAppVariableUpdateValue(Name, Value : String);
SessionVariableAdd(Name, Value : String);
Demo
VAR Result : String;
VAR JSON : String;
VAR Count : Integer;
JSON := '[{"Greeting":"Hello 1 ","Name":"User 1"},{"Greeting":"Hello 2 ","Name":"User 2"}]';
Result := SessionVariableAdd('Name', JSON);
//ShowMessage(JSONValue(JSON, 'Greeting')); SessionAppVariableGetValue(Name : String);
Exit;
SessionVariableGetValue(Name : String);
Demo
VAR Result : String;
VAR JSON : String;
VAR Count : Integer;
Result := SessionVariableGetValue('Name');
Exit;
SessionVariableUpdateValue(Name, Value : String);