问题
How do you get values from a POST request in ColdFusion?
Figured the hard way that POST.id
doesn't work like URL.id
.
回答1:
Post values are passed in the FORM scope ie FORM.id
回答2:
You want FORM, not POST. eg form.id
or form['id']
来源:https://stackoverflow.com/questions/5812032/how-to-get-post-data-in-coldfusion