getv

Object session.getv ( String identifier )

Description

Retrieve the value of a saved session variable (alias of getVariable).

Parameters

  • identifier The name of the variable whose value is to be retrieved, as a string.

Return Values

Returns the value of the session variable. This will be a string unless you have used setVariable to place something other than a string into a session variable.

Change Log

Version Description
4.5 Added for all editions.

Examples

Retrieve Session Variable

 // Places the session variable "CITY_CODE" in the local
 // variable "cityCode".

 cityCode = session.getv( "CITY_CODE" );

See Also

  • addToVariable() [session] - Adds an integer to the value of a session variable.
  • getVariable() [session] - Retrieve the value of a saved session variable.
  • setv() [session] - Set the value of a session variable (alias of setVariable).
  • setVariable() [session] - Set the value of a session variable.