My hosting provider has a control panel application available for each
hosting plan that includes statistics like bandwidth and disk space usage.
I am needing to utilize these statistics in my CF app, but the control panel
does not include an API to extract this information.


Therefore, I have been playing with CFHTTP, attempting to log into the
correct page in the control panel and then parse the html content to get
these statistics.


It would appear that the login form posts to an action page, when then uses
a meta refresh to go to the user home page of the control panel.   When I
use the following CFHTTP tag to post the login information to the action
page, the return result is the html meta redirect instead of the control
panel home page.   How do I get this home page instead of the redirect?


--------------------


<cfhttp
url=""> method="post" redirect="yes">
   <cfhttpparam type="formfield" name="action" value="login">
   <cfhttpparam type="formfield" name="ftemplate" value="design/login.html">
   <cfhttpparam type="formfield" name="requestURL" value="">
   <cfhttpparam type="formfield" name="login" value="--username--">
   <cfhttpparam type="formfield" name="password" value="--password--,">
</cfhttp>


returns


html head meta http-equiv="refresh" content="0;
url="" /head /html


--------------------


Any suggestions?


Thanks
-- Jeff
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to