I'm trying to use CFHTTP to grab some information from this page:

http://goallineblitz.com/game/team.pl?team_id=703

using:
<cfhttp url="http://goallineblitz.com/game/home.pl"; method="GET" 
resolveurl="yes" useragent="Mozilla/4.0 (compatible; MSIE 6.0; 
Windows NT 5.0)" redirect="yes">
</cfhttp>


But when I do so, it redirects me to this page:
http://goallineblitz.com/game/login.pl

So I changed the code to:
<cfhttp url="http://goallineblitz.com/game/login.pl"; method="POST" 
resolveurl="yes" useragent="Mozilla/4.0 (compatible; MSIE 6.0; 
Windows NT 5.0)" redirect="yes">
        <cfhttpparam type="FORMFIELD" name="user_name" value="xxx">
        <cfhttpparam type="FORMFIELD" name="password" value="xxx">
</cfhttp>
<cfhttp url="http://goallineblitz.com/game/home.pl"; method="GET" 
resolveurl="yes" useragent="Mozilla/4.0 (compatible; MSIE 6.0; 
Windows NT 5.0)" redirect="yes">
</cfhttp>

To pass the username and password to this page, but I had no 
luck.  Is there a way to do this with CFHTTP?  This is for an online 
football game I'm playing, and I'm a paying customer, I just want to 
automate some of the daily tasks with ColdFusion, so I'm not stealing 
information or anything.

Thanks for any help.

T 


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:303762
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to