> There is an asp.net site that I access in order to download a CSV file > report. The report is generated on the fly, and I don't want to > have to manually click around to get it. > > I am trying to submit the form via coldfusion, but the site is setup in a > strange way. Instead of submitting some normal form data, > its submitting (when I view it in live headers) a 30,000 byte string of "view > state" information. > > The process is relatively simple: browse the site, 2-3 mouseclicks to apply > filters, and then generate report.
That's not really strange, it's how ASP.NET sites usually work. The viewstate is basically analogous to session data. In CF, fetch the form with CFHTTP, parse out the viewstate, and send a second CFHTTP request that posts the viewstate and whatever data you need to the action URL. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsi ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334966 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

