Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

 

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;
  • No labels