cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X

How to set and get data from session?

bgupta-2
10-Marble

How to set and get data from session?

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 1
posipova
20-Turquoise
(To:bgupta-2)

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

Announcements


Top Tags