Skip to main content
10-Marble
November 7, 2017
Question

How to set and get data from session?

  • November 7, 2017
  • 1 reply
  • 3584 views

Dear Team,

How to set and get data from session?

As I am seeing it is

// result: INFOTABLE

var result = Resources["CurrentSessionInfo"].GetGlobalSessionValues();

var params = {

name: undefined /* STRING */,

value: undefined /* STRING */

};

// no return

Resources["CurrentSessionInfo"].SetGlobalSessionStringValue(params);

    1 reply

    20-Turquoise
    November 7, 2017

    Please refer to the following article on Understanding Session Variables  Article Viewer | PTC