pjs.session





Refers to an object containing session data. Session data can be shared between program calls within a user session.



Example

function test1() { pjs.session.abc = 123; pjs.call("test2"); } exports.run = test1;



function test2() { console.log(pjs.session.abc); // outputs 123 } exports.run = test2;