Jim Vosika wrote: > > Using CFHTTP or any other sort of tags, can you grab the affiliate login > page, fill in the user name and password forms and then submit the form > (assuming you knew the form names so CF could populate them and > execute)?
Yes. > Then once logged on you could have if follow a certain link > to the page containing your balance then using simple CFHTTP pull the > page and strip out your balance? Yes. > I pretty much assume this is a big fat NO because right at the beginning > with the Affiliate Login page, CF just pulls the source code (right?) > and doesn't actually open a session giving it a chance to login (or am I > mistaken??). You can make it open a session. In order to maintain a session you have to send an identifier with each request. Either as a cookie, as a formfield or as a URL variable. Find out which one Amazon uses and make sure that once you get it in a response you send it again with every request. What will be your big fat no with CFHTTP on sites with decent security is that they check the HTTP referer. I am not aware of any possibility to set an HTTP referer with CFHTTP. You could just add a CFHTTPPARAM with the name referer and the type cgi but it will end up sending double referers to the other site. Of course you could use some TCP/IP custom tag, but that would get really cumbersome. There are no theoretical reasons why it shouldn't work, but I would recommend setting aside a week for it if you want to get it working. Jochem ______________________________________________________________________ Get Your Own Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation � $99/Month � Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

