I am pretty new to using ColdFusion components but I am trying to start doing all my inserts and queries with them.
In the past I would always submit my forms to another .cfm page (usually called action). On that page I would do my SQL inserts or whatever and then put a <cflocation> at the bottom that directed the browser to the proper destination page. I am not really sure if this is best practice coding but it always worked for me. When using components it seems like I should be submitting the form to the .cfc by making it the action page of the form. That all works fine and the database inserts are working but the browser ends up on the .cfc page. I am not sure the best way to redirect to the proper .cfm destination page. Normally the destination page will be different depending on the source page. I hope this all makes sense. Any help on this would be greatly appreciated. Thanks in advance. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Upgrade to Adobe ColdFusion MX7 The most significant release in over 10 years. Upgrade & see new features. http://www.adobe.com/products/coldfusion?sdid=RVJR Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:283510 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

