Passing the session ID in the JavaScript is a bad idea. Someone could modify that and look at projects for other users. You already have the session ID on the server, why would you want to pass it again from the select box?
On 8/31/07, Asim Manzur <[EMAIL PROTECTED]> wrote: > > I have cfselect statement: > > <cfselect name="proj_id" height="70" > bind="cfc:MyCfcPath.MyCFCFunction(#session.userid#)" > value="project_id" display="project_name" bindonload="true" /> > > I have a cfinput type="text" > > which will take the value from cfselect and call another function in > cfc and display the value. > > I tried putting the onchange on cfselect, but how to bind that value > to the text cfinput field. > > Appreciate any help in this. > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Get involved in the latest ColdFusion discussions, product development sharing, and articles on the Adobe Labs wiki. http://labs/adobe.com/wiki/index.php/ColdFusion_8 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287709 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

