- Using Forms to Display Input Data
- Using the URL Scope to Pass Parameters
- Passing Multiple Parameters in One Query String
Passing Multiple Parameters in One Query String
It is nice to be able to pass a parameter in a URL query string. However, you are not limited to one parameter per URL; you can pass a lot of them at once. You concatenate parameters using an ampersand (&). Concatenated URL parameters in a query string look like this:
SomeActionPage.cfm?param1=value1¶m2=value2¶m3=value3
That should help you get a good start in working with FORM and URL variables in ColdFusion.
My new book, Core ColdFusion 5, contains a complete e-commerce site, best practices, help on finding a ColdFusion job, and much more information on using variables in ColdFusion, including complex data types. Pick up a copy today to find out more.