OpenWGA 7.10 - TMLScript reference

TMLContext "this"
Method :

removeSessionVar(varname)

On object TMLContext "this"
Usage Removes a WebTML session variable
Description Complete removes a WebTML session variable from the user session. After this the method this.isDefined() will return false for the variable name (if there is no item or other WebTML variable of that name).

This method cannot be used to remove portlet session variables. Use portlet.removeSessionVar() for this.
Parameters varname (String):
Name of the variable to remove
Allowed in script types
  • WebTML pages and normal WebTML actions