Programming Reference Manual
 
Syntax
 
object.Variables
 
Description
Collection of variables defined as name/value pairs.
 
Part
Description
object
Evaluates to a ParentRequest object or ParentSession object.
 

Data Type

Collection of httpVariables with .Name and .Value properties.

Remarks

Use HttpVariable Objects to store and manage variables. The value is a Variant type and may reference another object, data type, or value. See GetSessionVar and SetSessionVar methods for more information on this.
 
There are three different methods which can be used to access HttpVariables in an HttpVariables Collection:

1) Accessing HttpVariables using For Each

Dim var As New HttpVariable
For Each var In HttpVariables
   ListBox1.AddItem var.Value
Next
 

2) Accessing HttpVariables using Index

Dim i As Integer
For i = 1 To HttpVariables.Count
   ListBox1.AddItem HttpVariables.Index(i).Value
Next
 

3) Accessing HttpVariables using Name

'In this example, there are two variables (City and State)
ListBox1.AddItem HttpVariables("City")
ListBox1.AddItem HttpVariables("State")
 
See Also