rbv_api.removeAllSessionData()
Purpose
For user session data, this function removes all user session data. See User session data API for more information about user session data.
Syntax
rbv_api.removeAllSessionData();
Parameters
None
Return value
If successful, returns the string OK.
Example
If successful, the following example removes all user session data and returns
the string OK.
try {
var resp = rbv_api.removeAllSessionData();
rbv_api.println(resp);
} catch (error) {
rbv_api.println(error);
}
If there is no user session data, Platform throws an exception with the following string:
JavaException: java.lang.Exception: No Custom Session Data is Set by User