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" ) );
// 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
scraper on 07/16/2010 at 5:15 pm
- Printer-friendly version
- Login or register to post comments