At 05:20 PM 2/23/01 -0600, you wrote:
>How do you access Arguments passed to the server in a URL. (GET args or
>SEARCH args is what I usually call them)
>
>for example...
>
>http://localhost/index.cfm?productid=23&userid=2
>
>I'm evaluating ColdFusion, and have come across this issue and I can't
>seem to find the answer anywhere.
>
>Seems like it would be a simple thing to do. Since a simple
>Form.productid would retreive the appropriate POST argument from a form.
>
>Thanks for any help,
>John
Cold Fusion accesses these with url.variablename construct.
so in your example you would use url.productid and url.userid to get the
contents of the arguments.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists