CF_VarConvert
Convert variable types to and from url, form, session and cookie variables.
SYNTAX:
<CF_VarConvert
from="vartype"
to="vartype">
ATTRIBUTES:
From
Required. Variable type to be converted. Acceptable values are "URL," "FORM," "SESSION," and "COOKIE."
To
Required. Variable type to convert to. Acceptable values are "URL," "FORM," "SESSION," and "COOKIE."
NOTES
- Variables that are converted will retain the same names as the variables they were converted from.
- Form variables are output as hidden form fields within the document.
- VarConvert is useful in passing hidden fields from one form to another by using form as both the to and from value.
- Url variables are output in a single url query string named #urlstring#: (param1=value1¶m2=value2). This string should be appended to a hypertext reference in the format of:
document.cfm?#urlstring#
Additional parameters can be added after the urlstring by adding '&'.
|