>
> 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?
Does the system write a cookie when you login? I presume so as it
redirects you
What you need to do is look through the header of the return to see if
it's there
This is in CFHTTP.header and CFHTTP.responseHeader
I don't know what version of CF you're using, so this might not be
available to you
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

