You can't pass these values directly... think of it as a series of steps. Request the page, parse out the necessary information (viewstate, event validation), pass them into the next request.
Get a fiddler trace of an actual request that you make in a browser, and use the event target, event argument values from that trace to pass in your second request. >I want to submit a zipcode to a form on another website and then manipulate >the results using cfhttp.filecontent. When I run the code below, it churns >for awhile and then gives me an ASP runtime error. > ><cfhttp url="http://www.thesite.com/default.aspx" resolveurl="yes" >method="post"> > <cfhttpparam name="__EVENTTARGET" value="" type="formfield" encoded="no"> > <cfhttpparam name="__EVENTARGUMENT" value="" type="formfield" encoded="no"> ><cfhttpparam type="formfield" name="__VIEWSTATE" >value="/wEPDwULLTIwMjUyMTc5NjdkZA==" encoded="no"> > <cfhttpparam type="formfield" name="TxtBox" value="77083"> > <cfhttpparam type="formfield" name="Btn" value="Find"> > <cfhttpparam name="__EVENTVALIDATION" >value="/wEWBwLBnPWtDgLJr7rmBQK7v+jaBALM9PumDwKGyM+UAgLI5IvWAQLTq+asCA==" >type="formfield" encoded="no"> ></cfhttp> > ><cfoutput>#cfhttp.FileContent#</cfoutput> > >I copied the values for __VIEWSTATE and __EVENTVALIDATION form fields from >the 'view source', but they seem to be server-generated values aimed at >preventing what I'm trying to do. Is there any way around this? > >I don't think that __EVENTTARGET and __EVENTARGUMENT are required. > > >Billy Cox >Old World Spices >[EMAIL PROTECTED] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310892 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4