Passing data from pre-query to post query

To store a parameter value at the session level and then re-use it in a pre-query, post-query or server side validation script; use the following methods:

  • To set the data at the session level,

db.setSessionData(key, value);
  • To retrieve the stored value from the pre query/post query/server-side validation script,

db.getSessionData(key);
OR
db.removeSessionData(key);

Last updated