setVariable

void proxySession.setVariable ( String identifier, Object value )

Description

Set the value of a proxy session variable.

Parameters

  • identifier Name of the session variable, as a string.
  • value The value to be assigned to the session variable.

Return Values

Returns void.

Change Log

Version Description
4.5 Available for all editions.

Examples

Set Session Variable

 // Sets the variable "CITY_CODE" in the proxySession
 // to be equal to the value of the get method of the dataSet
 proxySession.setVariable( "CITY_CODE", dataSet.get( 0, "CITY_CODE" ) );

See Also

  • getVariable() [proxySession] - Gets the value of a proxy session variable