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

Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! 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