wwrequest::GetUrlEncodedKeyCollection
Allows enumerating and parsing of any Url Encoded list of values into a collection of Key and Value property objects.
Allows retrieving:
- All Form Variables (
cFormVars) - All QueryString Variables (
cQueryString) - All ServerVariables (
cServerVars)
Note that
cFormVarshas a dedicatedGetFormVarCollection()method to retrieve all values. QueryString and ServerVariables don't have dedicated methods and it's for enumerating these that this method is useful.
loQueryCol = Request.GetUrlEncodedKeyCollection(Request.cQueryString)
FOR EACH loQuery IN loQueryCol FOXOBJECT
? loQuery.Key
? loQuery.Value
ENDFOR
o.GetUrlEncodedKeyCollection(lcVars, lcPrefix)
Returns
Collection of objects with Key and Value properties.
Parameters
lcVars
The full url encoded list of values.
lcPrefix
Optional - prefix for key values to retrieve.
