Coldfusion cfhttp到stats.ezhostingserver网站不工作

Coldfusion cfhttp到stats.ezhostingserver网站不工作,coldfusion,Coldfusion,我有以下更新的代码,我正在尝试使用用户名/密码和siteid组合连接到网站,我正在使用get方法传递所有值,并尝试获取cookie以进行身份验证,但不知何故,我再次被重定向到登录屏幕 我的代码 <cfhttp method="get" url="https://stats.ezhostingserver.com/Login.aspx" resolveurl="true" redirect="false"> <cfhttpparam type="URL" name="ct

我有以下更新的代码,我正在尝试使用用户名/密码和siteid组合连接到网站,我正在使用get方法传递所有值,并尝试获取cookie以进行身份验证,但不知何故,我再次被重定向到登录屏幕

我的代码

<cfhttp method="get" url="https://stats.ezhostingserver.com/Login.aspx" resolveurl="true" redirect="false">
    <cfhttpparam type="URL" name="ctl00$MPH$txtUserName" value="********">
    <cfhttpparam type="URL" name="ctl00$MPH$txtPassword" value="********">
    <cfhttpparam type="URL" name="ctl00$MPH$txtSiteId" value="*****">
    <cfhttpparam type="Header" name="Accept-Encoding" value="deflate;q=0">
    <cfhttpparam type="Header" name="TE" value="deflate;q=0">
</cfhttp>
<cfset stm_cookies = cfhttp.responseHeader['Set-Cookie'] />
<cfset stm_temp = REReplace(stm_cookies, ";.*", "")>
<cfset stm_cookieName = listfirst(stm_temp,'=')>
<cfset stm_cookievalue = listlast(stm_temp,'=')>
<cfhttp method="get" url="https://stats.ezhostingserver.com/default.aspx" charset="utf-8" result="results" redirect="no">
    <cfhttpparam type="cookie" name="#stm_cookieName#" value="#stm_cookievalue#">
</cfhttp>
<cfoutput>#results.filecontent#</cfoutput>

#results.filecontent#

但是它说的是“我的对象移动错误”

请在您的问题中包含实际的错误消息。在调用
cfhttp
后转储
results
变量。也许我们需要退一步,问问您想做什么?如果您试图使用ColdFusion从SmarterStats收集信息,那么使用他们的web服务为您公开这些信息可能更有意义。看起来它们可以从你的主机上获得-这是屏幕截图。我尝试使用fiddler在url中传递用户名/密码,但有些不正确,看起来它不接受您的登录尝试。我建议您使用web服务,而不是尝试使用自己的web服务。可能是因为您正在执行